summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/friend41.C
blob: 6d686019d9a2ab4c46669de93613a9068a8fc0c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/26912

struct Foo { 
  template<class T> int func() const; 
}; 

class Bar { 
  friend int Foo::func<int>() const;
};