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