Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr71665-2.C

raw
1 // PR c++/71665
2 // { dg-do compile { target c++11 } }
3
4 class A
5 {
6 enum class E { e = 1 };
7 enum { a = E::e }; // { dg-error "integral or unscoped enumeration" }
8 };