// { 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 "template declaration" }


syntax highlighted by Code2HTML, v. 0.9.1