2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / isl-ast-gen-if-2.c
blob27e7fa42c6b73d699bb0fa61f0fdcaa064e13c83
1 /* This test case tests reduction, where the pbbs are duplicated. */
3 static int __attribute__((noinline))
4 foo ()
6 int i, res = 0;
8 for (i = 0; i < 50; i++)
10 if (i >= 25)
11 res += i;
14 return res;
17 extern void abort ();
19 int
20 main (void)
22 int res = foo ();
24 if (res != 925)
25 abort ();
27 return 0;