blob: 24e6b9b5b48fbca7cc8d226782d04288cc21880b [file] [log] [blame]
// PR c++/19808
// { dg-do compile }
// { dg-options "-Wall" }
enum E { red };
struct C {
C(int *, unsigned);
};
template <unsigned U> struct D : C {
D(int, int, E) : C(e, U) {}
int e[2];
};
void
g ()
{
D<1>(0, 0, red);
}