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