URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [overload29.C] - Rev 772
Go to most recent revision | Compare with Previous | Blame | View Log
// { 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 );
}
Go to most recent revision | Compare with Previous | Blame | View Log