Debian Codegraph @

gcc/testsuite/g++.dg/modules/gnu-inline-1_d.C

raw
1 // PR c++/119154
2 // { dg-additional-options "-fmodules -fno-module-lazy" }
3
4 import foo;
5 void bar() {}
6 void decl() {}
7
8 void test_c() {
9 bar();
10 decl();
11 };
12
13 // Make sure importing a gnu_inline definition didn't stop us from emitting
14 // the non-gnu_inline definition we had after the module import.
15 // { dg-final { scan-assembler "_Z3barv:" } }
16 // { dg-final { scan-assembler "_Z4declv:" } }