Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
dyncast5.C
blob: d0d58d0095ebb35ae0d087d1949dad1e89c9dbc7 [
file
] [
log
] [
blame
]
// PR c++/29273
struct
A
{
virtual
~
A
()
{
}
};
struct
B
:
A
{
}
b
[
1
];
void
foo
()
{
dynamic_cast
<
B
*>(
b
);
}