source:
CIVL/mods/dev.civl.abc/examples/side-effects/out_comma.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 198 bytes | |
| Line | |
|---|---|
| 1 | int* f() |
| 2 | { |
| 3 | return (void*)0; |
| 4 | } |
| 5 | int main() |
| 6 | { |
| 7 | int* p; |
| 8 | int a[10]; |
| 9 | *&p = f(); |
| 10 | &a[11]; |
| 11 | int* $sef$0 = f(); |
| 12 | *p = *$sef$0; |
| 13 | 5 / 0; |
| 14 | *p = 1; |
| 15 | a[1] = 1; |
| 16 | a[2] = 2; |
| 17 | a[3] = 3; |
| 18 | a[4] = 4; |
| 19 | } |
Note:
See TracBrowser
for help on using the repository browser.
