Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr52035_0.C

raw
1 // PR c++/52035
2 // { dg-lto-do assemble }
3
4 template <typename T> struct QVector {
5 typedef T* iterator;
6 static void insert(int n);
7 typedef int size_type;
8 };
9 template <typename T> void QVector<T>::insert(size_type n) {}
10 void error()
11 {
12 int n;
13 QVector<int>::insert(n);
14 }