source:
CIVL/examples/languageFeatures/null.cvl@
bb03188
| Last change on this file since bb03188 was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 148 bytes | |
| Rev | Line | |
|---|---|---|
| [36b5ada] | 1 | /* Commandline execution: |
| 2 | * civl verify null.cvl | |
| [88c4a13] | 3 | */ |
| 4 | #include<string.h> | |
| 5 | #include<assert.h> | |
| [8fa5a7b] | 6 | |
| 7 | void main() { | |
| [88c4a13] | 8 | int *p = 0; |
| [8fa5a7b] | 9 | |
| [88c4a13] | 10 | assert(p == NULL); |
| [8fa5a7b] | 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
