summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template13.C
blob: b1c03690be53ffa446795024ec5fde13f8ffe2f0 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/14002

template <typename T> void foo (T x) { x; }

void bar() { foo(0); }

struct A
{
  friend void foo<int> (int);
};