Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wuninitialized-27.C
blob24e6b9b5b48fbca7cc8d226782d04288cc21880b
1 // PR c++/19808
2 // { dg-do compile }
3 // { dg-options "-Wall" }
5 enum E { red };
7 struct C {
8   C(int *, unsigned);
9 };
11 template <unsigned U> struct D : C {
12   D(int, int, E) : C(e, U) {}
13   int e[2];
16 void
17 g ()
19   D<1>(0, 0, red);