Debian Codegraph @

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

raw
1 // PR lto/91572
2 // { dg-lto-do link }
3 // { dg-lto-options { { -O -fPIC -flto } } }
4 // { dg-require-effective-target shared }
5 // { dg-require-effective-target fpic }
6 // { dg-extra-ld-options "-shared" }
7
8 void foo (char);
9 namespace N {
10 class A { A (); };
11 A::A () { asm ("" : : "g" (0)); }
12 }