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