OSDN Git Service

PR c++/38485
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / enum2.C
1 // { dg-do compile }
2
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
4
5 // PR c++/18123: ICE pushing tag from invalid template.
6
7 template<int> enum E { e }; // { dg-error "template declaration" }