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:
563 bytes
|
| Line | |
|---|
| 1 | module;
|
|---|
| 2 |
|
|---|
| 3 | export void fn_1() {}
|
|---|
| 4 | int fn_2(int a) {}
|
|---|
| 5 | struct struct_1 fn_3(struct struct_2 a, struct struct_3 *b) {
|
|---|
| 6 | global_1;
|
|---|
| 7 | type struct_4;
|
|---|
| 8 | type *struct_5;
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | struct struct_1 {};
|
|---|
| 12 | export struct struct_2 {};
|
|---|
| 13 | struct struct_3 {
|
|---|
| 14 | global_2;
|
|---|
| 15 | type *struct_6;
|
|---|
| 16 | };
|
|---|
| 17 | struct struct_4 {
|
|---|
| 18 | type struct_5;
|
|---|
| 19 | };
|
|---|
| 20 | export struct struct_5 {
|
|---|
| 21 | type *struct_6;
|
|---|
| 22 | };
|
|---|
| 23 | struct struct_6 {
|
|---|
| 24 | type struct_5;
|
|---|
| 25 | };
|
|---|
| 26 |
|
|---|
| 27 | int global_1;
|
|---|
| 28 | export int global_2 = global_3 + global_4 + global_1;
|
|---|
| 29 | int global_3 = global_5;
|
|---|
| 30 | struct struct_4 global_4;
|
|---|
| 31 | export struct struct_5 *global_5 = global_1;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.