Debian Codegraph @

gcc/testsuite/g++.dg/modules/import-1_e.C

raw
1 // { dg-additional-options "-fmodules-ts -fdump-lang-module" }
2
3 import Foo;
4
5 int main ()
6 {
7 Quux (1); // from Bar
8 Quux (1, 2); // from Baz
9 return 0;
10 }
11
12 // { dg-final { scan-lang-dump "Found exported import:1 Bar->1" "module" } }
13 // { dg-final { scan-lang-dump "Found exported import:2 Baz->2" "module" } }