| 21 | } |
| 22 | |
| 23 | int main(int argc, char **argv) { |
| 24 | // We should get the same value for the first and last - stack has unwound |
| 25 | printf("in main\n"); |
| 26 | int x1 = test(argc - 2); |
| 27 | int x2 = test(100); |
| 28 | int x3 = test((argc - 2) / 4); |
| 29 | assert(x2 != x1); |
| 30 | assert(x3 == x1); |
| 31 | printf("*%d,%d*\n", x3 - x1, x2 != x1); |
| 32 | return 0; |
| 33 | } |