summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/redecl2.C
blob: d8837f6b9e45e17a2c29f40bce7bc3d217f70c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }

struct A 
{
  template <class A>
  void f(A) {}
};

void g()
{
  A a;
  a.f(3);
}