PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / enum2.C
blobf77f91701d93bddc56feebf0e79508cec47e336f
1 // { dg-do compile }
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
5 // PR c++/18123: ICE pushing tag from invalid template.
7 template<int> enum E { e }; // { dg-error "declaration|expected" }