URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [expr1.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Simplified from bug report by Trevor Taylor <ttaylor@powerup.com.au>
struct T { // { dg-message "candidate" }
int operator()(int) { } // { dg-message "operator|candidate expects" }
};
int main() {
T()(); // { dg-error "match" } no such operator
}