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