Debian Codegraph @

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

raw
1 // { dg-lto-do link }
2 // { dg-require-effective-target lto_incremental }
3 // { dg-lto-options { { -flto -g1 } } }
4 // { dg-extra-ld-options "-r -nostdlib" }
5 namespace a {
6 template <typename b, typename = b> class c;
7 template <typename b, typename d> void e(c<b, d> &);
8 void operator<<(c<char> &f, const char *) { e(f); }
9 extern c<char> cout;
10 }
11 int main() { a::cout << ""; }