summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/enum2.C
blob: f77f91701d93bddc56feebf0e79508cec47e336f (plain)
1
2
3
4
5
6
7
// { dg-do compile }

// Origin: Volker Reichelt <reichelt@gcc.gnu.org>

// PR c++/18123: ICE pushing tag from invalid template.

template<int> enum E { e }; // { dg-error "declaration|expected" }