diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2025-12-07 18:32:35 -0500 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2025-12-07 18:32:35 -0500 |
| commit | daedfe9e1684ae855e2a4cf21249e1274ff8484d (patch) | |
| tree | 6cacc8e364efb9b1472dfeb48a02bd37e1866634 /tnslc/test.tnsl | |
| parent | 9e8e52bf43b325ab636fc4de81acc89eb17a2c1d (diff) | |
| parent | 17620a6aae801ff22e8eb6a95b30f6e830742542 (diff) | |
Merge branch 'origin' of cshift.net:git/tnsl-lang into origin
Diffstat (limited to 'tnslc/test.tnsl')
| -rw-r--r-- | tnslc/test.tnsl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 6163318..fd29a23 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -1,5 +1,27 @@ +/; module Container + /; module m1 + struct Box { + ~uint8 data + } + ;/ + + /; module m2 + struct Crate { + {}m1.Box boxes + } + ;/ + +;/ + +struct Option { + bool has_crate, + Container.m2.Crate crate +} + + /; main (int argc, ~~uint8 argv) [int] + return 0 ;/ |