☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr58563.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr58563.C
code
plain
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
}