Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
static30.C
blob: 07dafe23ffaab29f8d84df3caebef01bcb6393f4 [
file
] [
log
] [
blame
]
// PR c++/31992
template
<int>
struct
A
{
static
const
int
i1
;
static
const
int
i2
;
};
template
<
int
N
>
const
int
A
<
N
>::
i1
(
A
<
N
>::
i
);
template
<
int
N
>
const
int
A
<
N
>::
i2
(
3
,
A
<
N
>::
i
);
// { dg-error "expression list" }