Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
static12.C
blob: 73becab27fd41cd119cdb46d41e650c1874da991 [
file
] [
log
] [
blame
]
// PR c++/18470
template
<typename>
struct
A
{
static
const
int
i
=
1
;
};
template
<
typename
T
>
struct
B
:
A
<
T
>
{
using
A
<
T
>::
i
;
char
s
[
i
];
// fails
char
t
[
A
<
T
>::
i
];
// compiles
};