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