summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/enum16.C
blob: ebb48688b1857bcb16fc3001e3143c9c78e4011f (plain)
1
2
3
4
5
6
// PR c++/48935
// { dg-options -std=c++0x }

enum class ENUM { a };

ENUM::Type func() { return ENUM::a; } // { dg-error "does not name a type" }