Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr58563.C

raw
1 // PR c++/58563
2 // { dg-do compile { target c++11 } }
3
4 template<int> void foo()
5 {
6 enum E {};
7 E().E::~T(); // { dg-error "not a class" }
8 }