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/] [extern1.C] - Rev 301
Compare with Previous | Blame | View Log
// PR c++/21495
// { dg-do compile }
class A
{
extern void *copy (void) // { dg-error "storage class specified" }
{
return 0;
}
extern A &operator= (const A &) // { dg-error "storage class specified" }
{
return *this;
}
};