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++.dg/] [parse/] [error19.C] - Rev 320
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-options "-fshow-column -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long " }
// PR C++/17867
struct A
{ // { dg-message "1:candidate is:" }
A(int);
};
const A& foo();
void bar()
{
foo()=A(0); // { dg-error "12:no match for 'operator='" }
}
Go to most recent revision | Compare with Previous | Blame | View Log