URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [conversion/] [ambig1.C] - Rev 704
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/19787
struct H {
operator char(); // { dg-message "note" }
operator short(); // { dg-message "note" }
};
int const& ref = H(); // { dg-error "ambiguous" }
// { dg-message "candidate" "candidate note" { target *-*-* } 8 }
Go to most recent revision | Compare with Previous | Blame | View Log