1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// { dg-do assemble } // Bug: we get an error trying to build up our ideal candidate. class C { public: C( const char * ); }; extern const char c1[]; void f2( const char * ); void f1() { C *fntp = new C(c1); // Line 10 f2( c1 ); }