From 5b81a4819a249921085f6596927f9939dffc46e7 Mon Sep 17 00:00:00 2001 From: CircleShift Date: Fri, 5 Dec 2025 01:03:25 -0500 Subject: [tnslc] Fix pointer issue with find func --- tnslc/test.tnsl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tnslc/test.tnsl') 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 ;/ -- cgit v1.2.3