Mercurial > thymian
comparison tests/script/test_default_return_values.nap @ 0:a4671277546c tip
created the repository for the thymian project
| author | ferencd |
|---|---|
| date | Tue, 17 Aug 2021 11:19:54 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:a4671277546c |
|---|---|
| 1 int z; | |
| 2 | |
| 3 int func(int a, int b) | |
| 4 { | |
| 5 if(a == 7777777) | |
| 6 { | |
| 7 int rr = 9; | |
| 8 return 5; | |
| 9 } | |
| 10 | |
| 11 } | |
| 12 | |
| 13 int func2() | |
| 14 { | |
| 15 } | |
| 16 | |
| 17 z = 3; | |
| 18 | |
| 19 if(z == 3) | |
| 20 { | |
| 21 int y = 2; | |
| 22 z = 4; | |
| 23 } | |
| 24 | |
| 25 int g = func(z, 66); | |
| 26 int ll = func2(); |
