source:
CIVL/mods/dev.civl.abc/src/include/abc/assert.h@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 313 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | /* The assert.h header defines assert and static_assert macros |
| 2 | * which is useful for diagnosing logic errors in the program. | |
| 3 | */ | |
| 4 | ||
| 5 | #ifndef _ASSERT_ | |
| 6 | #define _ASSERT_ | |
| 7 | #include<civlc.cvh> | |
| 8 | #pragma CIVL ACSL | |
| 9 | ||
| 10 | /*@ depends_on \nothing; */ | |
| 11 | $atomic_f void assert(_Bool expr); | |
| 12 | ||
| 13 | #define static_assert _Static_assert | |
| 14 | ||
| 15 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
