stuck-waitfor-destruct
|
Last change
on this file was 2cb10170, checked in by Alvin Zhang <alvin.zhang@…>, 4 weeks ago |
|
stitched modules proposal
|
-
Property mode
set to
100644
|
|
File size:
516 bytes
|
| Line | |
|---|
| 1 | module;
|
|---|
| 2 |
|
|---|
| 3 | import a;
|
|---|
| 4 | import "../yesImports";
|
|---|
| 5 |
|
|---|
| 6 | export struct struct_2 {
|
|---|
| 7 | // Uses b because own module shadows imported a
|
|---|
| 8 | global_1;
|
|---|
| 9 | };
|
|---|
| 10 | int global_1;
|
|---|
| 11 |
|
|---|
| 12 | int function_1(struct struct_3 foo /* Uses b */) {
|
|---|
| 13 | // Uses b because own module shadows imported a
|
|---|
| 14 | global_1;
|
|---|
| 15 | }
|
|---|
| 16 |
|
|---|
| 17 | export struct struct_3 {
|
|---|
| 18 | // Uses yesImports
|
|---|
| 19 | type struct_4;
|
|---|
| 20 | };
|
|---|
| 21 | export int global_2;
|
|---|
| 22 | export struct struct_6 {
|
|---|
| 23 | // Uses a
|
|---|
| 24 | type struct_7;
|
|---|
| 25 | };
|
|---|
| 26 | export struct struct_8 {
|
|---|
| 27 | // uses b
|
|---|
| 28 | function_1;
|
|---|
| 29 | // uses b
|
|---|
| 30 | type struct_7;
|
|---|
| 31 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.