Merge from trunk @ 138209
[official-gcc.git] / gcc / testsuite / g++.dg / parse / dtor13.C
blob66cd5f7f34cfd091bcc5a39a22479f867052146c
1 /* PR c++/34963 This used to ICE */
2 /* { dg-do "compile" } */
4 struct A
6   static friend A::~A(); /* { dg-error "storage class specifiers|extra qualification|implicitly friend" } */
7 };