source:
CIVL/mods/dev.civl.abc/examples/side-effects/out_stmtExpression.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 264 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 1 | //==================== stmtExpression.c ==================== |
| 2 | int foo() | |
| 3 | { | |
| 4 | return 1; | |
| 5 | } | |
| 6 | int main() | |
| 7 | { | |
| 8 | int $sef$0; | |
| 9 | { | |
| 10 | { | |
| 11 | int y = foo(); | |
| 12 | int z; | |
| 13 | if(y > 0) | |
| 14 | z = y; | |
| 15 | else | |
| 16 | z = -y; | |
| 17 | $sef$0 = z; | |
| 18 | } | |
| 19 | } | |
| 20 | int a = $sef$0; | |
| 21 | } |
Note:
See TracBrowser
for help on using the repository browser.
