URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [copy3.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do link }
// Origin: ericp@mit.edu
class bar {
};
class foo {
foo (const foo &f);
public:
foo (bar x) {}
foo () {}
void test (const foo &f) {}
};
int main (void) {
foo f;
bar b;
f.test (b);
}
Go to most recent revision | Compare with Previous | Blame | View Log