blob: cc95fa6946813a28eb7f1f06fe07856ce9762549 [file] [log] [blame]
// 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;
}
};