Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / treelang / execute / static.tree
blob370f244604f08ff8cb2739e5fb6cfdf06ac93ae2
1 // { dg-do run }
2 external_reference void abort ();
3 external_reference void exit (int code);
4 external_definition int main (int argc, int argv);
6 static int foo ();
8 foo
10         static int bar = +1;
12         bar = bar + +1;
13         return bar;
16 main
18   automatic int aaa = +3;
20   aaa = foo ();
21   aaa = foo ();
22   
23   if (aaa == 3)
24     { 
25       exit (0);
26     }
27   else
28     {
29       abort ();
30     }
31   return 0;