Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lto/pr52035_0.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// 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); }