Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum16.C
blob: 207fcab2b01d50f9b3785c5db552d70a37a6e008 [
file
] [
log
] [
blame
]
// PR c++/48935
// { dg-do compile { target c++11 } }
enum
class
ENUM
{
a
};
ENUM
::
Type
func
()
{
return
ENUM
::
a
;
}
// { dg-error "does not name a type" }