summaryrefslogtreecommitdiffstats
path: root/tests/22-nested-struct.sml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/22-nested-struct.sml')
-rw-r--r--tests/22-nested-struct.sml9
1 files changed, 9 insertions, 0 deletions
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