summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/defarg8.C
blob: 1f1f078aa16dbe05286dfda7c13b802b504d5c14 (plain)
1
2
3
4
5
6
7
8
9
10
struct A {
  static void g(int);
};

struct S {
  static int i;

  friend void f(int = i);
  friend void A::g(int = i);
};