1 // { dg-do compile } 2 // { dg-options "-fno-rtti" } 3 4 struct B { }; 5 f(B * bp)6 void f(B* bp) 7 { 8 bp = 9 #ifndef __GXX_RTTI 10 static_cast<B*>(0); 11 #endif 12 } 13