comparison gcc/testsuite/g++.dg/lto/pr85176_0.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 // { dg-lto-do link }
2 // { dg-lto-options { { -flto -g1 } } }
3 // { dg-extra-ld-options "-r -nostdlib" }
4 namespace a {
5 template <typename b, typename = b> class c;
6 template <typename b, typename d> void e(c<b, d> &);
7 void operator<<(c<char> &f, const char *) { e(f); }
8 extern c<char> cout;
9 }
10 int main() { a::cout << ""; }