summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/dtor13.C
blob: 96c0d227b045d143750d1de03e0ea113f331fe24 (plain)
1
2
3
4
5
6
7
8
/* PR c++/34963 This used to ICE */
/* { dg-do compile } */

struct A
{
  static friend A::~A(); /* { dg-error "storage class specifiers|extra qualification|implicitly friend" } */
};