Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
array15.C
blob: b1e047d1d0053be3e21737cb57de7633f4a1f68a [
file
] [
log
] [
blame
]
// PR c++/28595
template
<int>
struct
A
{
static
const
int
i
;
};
template
<
int
N
>
struct
B
{
char
c
[
A
<
N
>::
i
],
d
;
// { dg-error "constant" }
};
B
<
0
>
b
;