repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr52035_0.C
blob
3de4ea57ba902e58d7d2346fb23b84bce2c258e6
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
}