Debian Codegraph @

gcc/testsuite/g++.dg/modules/indirect-4_c.C

raw
1 // { dg-additional-options "-fmodules-ts -fdump-lang-module-uid-alias" }
2 import bar;
3
4 int main ()
5 {
6 if (bar::quux () != 3)
7 return 1;
8
9 return 0;
10 }
11
12 // { dg-final { scan-lang-dump {Lazily binding '::bar::quux'@'bar' section:} module } }
13 // { dg-final { scan-lang-dump {>Loading entity foo\[.\] section:1} module } }
14 // { dg-final { scan-lang-dump {Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo} module } }
15
16 // { dg-final { scan-lang-dump {Reading definition function_decl '::foo::TPL@bar:.<0x1>::frob@bar:.<0x2>'} module } }
17 // { dg-final { scan-lang-dump {Reading definition type_decl '::foo::TPL@bar:.<0x1>'} module } }