// { dg-lto-do link } // { dg-require-effective-target lto_incremental } // { dg-lto-options { { -flto -g1 } } } // { dg-extra-ld-options "-r -nostdlib" } namespace a { template class c; template void e(c &); void operator<<(c &f, const char *) { e(f); } extern c cout; } int main() { a::cout << ""; }