blob: aa6d9ad80b29644b29127483b58a3692c290c427 [file] [log] [blame]
// PR c++/71665
// { dg-do compile { target c++11 } }
class A
{
enum class E { e = 1 };
enum { a = E::e }; // { dg-error "integral or unscoped enumeration" }
};