summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/friend39.C
blob: 9ebe226eb6fb1756e2f99a90cf367e49400e5602 (plain)
1
2
3
4
5
6
7
// PR c++/8355

namespace Foo { template <typename T> void foo();}
struct Bar
{
  friend void Foo::foo<int>();
};