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