Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
static24.C
blob: 3d8f9e326bf53d55f1415c46fe6955e60228a06f [
file
] [
log
] [
blame
]
template
<typename>
struct
A
;
template
<>
struct
A
<char>
{
static
const
char
i
=
1
;
};
template
<
typename
T
>
struct
B
{
static
const
int
j
=
A
<
T
>::
i
;
static
const
int
k
=
int
(
j
);
int
x
[
k
];
};
B
<char>
b
;