summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p2806.C
blob: 71d5139e1e8facada31ae6c5b7b78758c7ce527c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do assemble  }
// GROUPS passed
template<class T>
class List
{
  public:
    List();
    void f() const;
};

template<class T>
void List<T>::f() const
{
}

void func()
{
    List<int> list;
    list.f();
}