source: doc/proposals/modules-alvin/1_stitched_modules/testing/yesImports.cmod

stuck-waitfor-destruct
Last change on this file was 2cb10170, checked in by Alvin Zhang <alvin.zhang@…>, 3 weeks ago

stitched modules proposal

  • Property mode set to 100644
File size: 262 bytes
RevLine 
[2cb10170]1module;
2
3import yesImports/a;
4import "yesImports/b";
5
6struct struct_1 {
7 // Uses b because it's exported (a isn't)
8 type struct_2;
9};
10
11export struct struct_4 {
12 // Uses a because it's exported (b isn't)
13 global_1;
14 // Uses a
15 type struct_5;
16};
Note: See TracBrowser for help on using the repository browser.