Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;