Debian Codegraph @

gcc/testsuite/g++.dg/modules/local-1_a.C

raw
1 // { dg-module-do run }
2 // { dg-additional-options "-fmodules-ts" }
3
4 export module the.shop;
5 // { dg-module-cmi the.shop }
6
7 export int for_local_people ()
8 {
9 struct X {int a;};
10 X m;
11 m.a = 5;
12 return m.a;
13 }