source:
CIVL/mods/dev.civl.abc/examples/equiv/test4_1.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 234 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * test4_0.c and test4_1.c are not equivalent because |
| 3 | * they have different name for the local variable of function f. |
| 4 | */ |
| 5 | |
| 6 | int f(int k); |
| 7 | |
| 8 | void main(){ |
| 9 | int a = 10; |
| 10 | |
| 11 | a = f(a); |
| 12 | } |
| 13 | |
| 14 | int f(int k){ |
| 15 | int a1 = 9; |
| 16 | |
| 17 | return k + a1; |
| 18 | } |
Note:
See TracBrowser
for help on using the repository browser.
