source:
CIVL/mods/dev.civl.com/examples/pthread/svcomp/intPointer.c@
bc0fbae
| Last change on this file since bc0fbae was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 159 bytes | |
| Rev | Line | |
|---|---|---|
| [ac1de0b] | 1 | #include<stdlib.h> |
| 2 | #include<assert.h> | |
| 3 | ||
| 4 | int f(int x){ | |
| 5 | ||
| 6 | assert(!x); | |
| 7 | return x!=0; | |
| 8 | } | |
| 9 | ||
| 10 | int main(){ | |
| 11 | double *p=NULL;//=malloc(sizeof(double)*10); | |
| 12 | ||
| 13 | f(p); | |
| 14 | } | |
| 15 | ||
| 16 | ||
| 17 |
Note:
See TracBrowser
for help on using the repository browser.
