// { dg-do compile } // Origin: Volker Reichelt // PR c++/18123: ICE pushing tag from invalid template. template enum E { e }; // { dg-error "template declaration" }