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

template <class Type>
class CVector {
public:
    CVector<int> f() const
    {
       CVector<int> v();
       return v;
    }
    CVector<long> g() const
    {
       CVector<long> v();
       return v;
    }
};