Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-scope-1.c
blob5fdd00b60be44e2fc2abf36ace1d6b57a594f5e3
1 /*
2 scope-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 int v = 3;
13 void f (void)
15 int v = 4;
17 extern int v;
18 if (v != 3)
19 ASSERT (0);
23 void
24 testTortureExecute (void)
26 f ();
27 return;