URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [operators21.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed operators
struct A {
int x;
};
int operator()(A x,float y) {// { dg-error "" } .*
return 1;
}
int main() {
A x;
x(1.0); // { dg-error "" } no match
}