blob: ecd43592b08df9b517cce1a4a99c56f9ec89b26b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Bug: we get an error trying to build up our ideal candidate.
// Build don't link:
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 );
}
|