OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / dtor13.C
1 /* PR c++/34963 This used to ICE */
2 /* { dg-do "compile" } */
3
4 struct A
5 {
6   static friend A::~A(); /* { dg-error "storage class specifiers|extra qualification|implicitly friend" } */
7 };
8