Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / parse / extern1.C
blobcc95fa6946813a28eb7f1f06fe07856ce9762549
1 // PR c++/21495
2 // { dg-do compile }
4 class A
6   extern void *copy (void) // { dg-error "storage class specified" }
7   {
8     return 0;
9   }
10   extern A &operator= (const A &) // { dg-error "storage class specified" }
11   {
12     return *this;
13   }