☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash99.C
☽
☼
gcc/testsuite/g++.dg/template/crash99.C
code
plain
raw
1
// PR c++/34491
2
3
template<typename> struct A;
4
5
template<0> struct A<int> // { dg-error "expected|template|anonymous" }
6
{
7
static const int i = 0;
8
};
9
10
int n = A<int>::i; // { dg-error "incomplete type" }