This verification example shows a ".h" file with an annotated function declaration, and a ".c" file that contains the implementation of the header file. We verify that the implementing method adheres to the contract. See also c-example.h and (c-example-impl.c for the implementation).
OpenMP for C
Path to example file
Lines of code
10 lines (comments not included)
Lines of specification
2 lines (20% of the total)
Note, verification may take a while and has a time-out of 20 seconds.