2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / isl-ast-gen-blocks-1.c
blobcd67d87534eab1d7f52739fe8356bb857625826f
1 int n = 50;
2 static int __attribute__((noinline))
3 foo ()
5 int i, res;
6 for (i = 0, res = 0; i < n; i++)
7 res += i;
9 return res;
12 extern void abort ();
14 int
15 main (void)
17 int res = foo ();
20 if (res != 1225)
21 abort ();
23 return 0;