Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
extern1.C
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
;
}
};