Debian Codegraph @

gcc/testsuite/g++.dg/modules/using-28_a.C

raw
1 // { dg-additional-options "-fmodules-ts -Wno-global-module" }
2 // { dg-module-cmi M }
3 // Test that typedef names correctly provide external linkage
4
5 module;
6 typedef struct { int x; } A;
7 export module M;
8
9 export typedef struct {} B;
10
11 export using ::A;
12 export using ::B;