LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr78241.c
blobb99dfca2ba03b413b437118174d3a4d386d64e31
1 /* { dg-do run } */
2 /* { dg-options "-Og -funroll-loops" } */
4 static __attribute__((noinline, noclone)) unsigned
5 foo (unsigned x)
7 do
8 x++;
9 while (x <= 15);
10 return x;
13 int main ()
15 unsigned x = foo (-2);
16 if (x != (unsigned)-1)
17 __builtin_abort();
18 return 0;