source:
CIVL/mods/dev.civl.com/examples/languageFeatures/assertNullPointer.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 147 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * Commandline example: |
| 3 | * civl verify assertNullPointer.cvl |
| 4 | */ |
| 5 | #include<civlc.cvh> |
| 6 | |
| 7 | void main(){ |
| 8 | double *p = NULL; |
| 9 | |
| 10 | $assert(p); |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
