summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/enum2.C
blob: 21c265a923cfd01b3493224f562c99b693c89cc3 (plain)
1
2
3
4
5
// PR c++/38637
// { dg-do compile }
// { dg-options "-std=c++0x" }

template<int> enum E : int { e };	// { dg-error "declaration|expected" }