blob: 284f2f64a23b71753ad4750c221a3038e421da5d [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fno-rtti" }
struct B { };
void f(B* bp)
{
bp =
#ifndef __GXX_RTTI
static_cast<B*>(0);
#endif
}