URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [overload28.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 6056
struct Foo {
Foo() { } // { dg-message "note" }
Foo(int i = 25) { } // { dg-message "note" }
};
int main()
{
Foo* f1 = new Foo(); // { dg-error "ambiguous" }
// { dg-message "candidate" "candidate note" { target *-*-* } 11 }
}
Go to most recent revision | Compare with Previous | Blame | View Log