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