LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-pred-9_a.c
blob67fb8ab9778f94ed7d2d6fa9d12f2d036d8bc37d
2 /* { dg-do compile } */
3 /* { dg-options "-Wuninitialized -O2" } */
5 int g;
6 void bar();
7 void blah(int);
9 int foo (int n, int l, int m, int r)
11 int v;
13 if ( (n < 10) && (m == l) && (r < 20) )
14 v = r;
16 if (m) g++;
17 else bar();
19 if ( (n <= 8) && (m == l) && (r < 19) )
20 blah(v); /* { dg-bogus "uninitialized" "bogus warning" } */
22 return 0;