summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/friend2.C
blob: ad6a7d12ba2366c26e7f4702b00b212ab60d91ca (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
namespace A{
  void foo();
}


namespace B{
class B{
  friend void A::foo();
};
}