aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/lto/pr52035_0.C
blob: 3de4ea57ba902e58d7d2346fb23b84bce2c258e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/52035
// { dg-lto-do assemble }

template <typename T> struct QVector {
    typedef T* iterator;
    static void insert(int n);
    typedef int size_type;
};
template <typename T> void QVector<T>::insert(size_type n) {}
void error()
{
    int n;
    QVector<int>::insert(n);
}