Debian Codegraph @

gcc/testsuite/g++.dg/modules/part-3_c.C

raw
1 // { dg-additional-options "-fmodules-ts -fdump-lang-module-alias" }
2
3 export module foo;
4 // { dg-module-cmi foo }
5
6 export import :bar;
7 export import :baz;
8
9 export inline int frob (int x)
10 {
11 return foo (x);
12 }
13
14 // { dg-final { scan-lang-dump {Read:-[0-9]'s named merge key \(new\) function_decl:'::foo'} module } }
15 // { dg-final { scan-lang-dump {Read:-[0-9]'s named merge key \(matched\) function_decl:'::foo'} module } }
16 // { dg-final { scan-lang-dump {Cluster sections are \[1,3\)} module } }