Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/overload29.C

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