From e5034d3a668fbf0a4367bb582d759ba82b5576a3 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Wed, 22 Jan 2025 19:45:12 -0800 Subject: Support struct expressions --- tests/22-nested-struct.sml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/22-nested-struct.sml (limited to 'tests') diff --git a/tests/22-nested-struct.sml b/tests/22-nested-struct.sml new file mode 100644 index 0000000..1eaf6ab --- /dev/null +++ b/tests/22-nested-struct.sml @@ -0,0 +1,9 @@ +structure S = struct + structure I = struct + val fourtyTwo = 42 + end +end + +structure T = S.I + +val _ = __builtin "exit" T.fourtyTwo -- cgit v1.3.1