summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/friend1.C
blob: f19dc9c628b9aeff5e195cea2ce811d218572892 (plain)
1
2
3
4
5
6
7
8
9
namespace N {
  template <typename T>
  static void f ();

  struct S {
    friend void N::f<int> ();
    static void f (int);
  };
}