Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}
};