summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/enum18.C
blob: 5575ca6ce945b6ec7874dd7885eb199d584846a4 (plain)
1
2
3
4
5
6
7
8
// PR c++/47277
// { dg-options -std=c++0x }

int main(void) {
           enum e {};
           e ev;
           ev.e::~e_u();	// { dg-error "" }
}