summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template8.C
blob: e4af7eea3a56ee51e01917e5b4bc427e3379af91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace N
{

template <typename> struct A
{
  template <typename T> A(A<T>);
};

}

void foo(N::A<int>);

void bar()
{
  foo(N::A); // { dg-error "" }
}