Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/pr52035_0.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |