aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/dtor13.C
blob: 66cd5f7f34cfd091bcc5a39a22479f867052146c (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" } */
};