☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
static30.C
☽
☼
gcc/testsuite/g++.dg/template/static30.C
code
plain
raw
1
// PR c++/31992
2
3
template <int> struct A
4
{
5
static const int i1;
6
static const int i2;
7
};
8
9
template <int N> const int A<N>::i1(A<N>::i1);
10
template <int N> const int A<N>::i2(3, A<N>::i2); // { dg-error "expression list" }