Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
static14.C
blob: 5bc0e731ac34665b994362f61db24ca6c960ddca [
file
] [
log
] [
blame
]
struct
Base
{
int
x
;
};
template
<
typename
T
>
struct
A
{
static
const
int
N
=
sizeof
(
static_cast
<
Base
*>(
T
()));
int
a
[
N
];
};
struct
Derived
:
Base
{
A
<
Derived
*>
a
;
};