* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum22.C
blobe87a31ce6d520028878e7292cf268f20fa2413d5
1 // PR c++/56155
2 // { dg-do compile { target c++11 } }
4 enum e_ : unsigned char { Z_, E_=sizeof(Z_) };
5 static_assert( E_ == 1, "E_ should be 1");
7 template <class T>
8 struct A {
9   enum e_ : unsigned char { Z_, E_=sizeof(Z_) };
12 static_assert ( A<double>::E_ == 1, "E_ should be 1");