summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/friend1.C
blob: 7bdea05dc27ea59de7130e39b63f3c7e866f9792 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
namespace A{
  void f(int);
}

class X{
  friend void A::f(int);
};