(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
enum_base4.C
// PR c++/96380
// { dg-do compile { target c++11 } }

extern const int a, b;
enum struct c;
template <class>
enum struct c : union enum struct c { e = b, f = a };  // { dg-error "types may not be defined|expected|elaborated-type-specifier" }
enum class c {};