Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr58563.C
blob: c9e3e308af93cfd569c253853bfa1a86108a9621 [
file
] [
log
] [
blame
]
// PR c++/58563
// { dg-do compile { target c++11 } }
template
<int>
void
foo
()
{
enum
E
{};
E
().
E
::~
T
();
// { dg-error "not a class" }
}