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