aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p2806.C
blob: 401b5ecd4880cada05b88eeef827df5b31fcfb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Build don't link: 
// 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();
}