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