diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-01-22 19:45:12 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-05-18 08:11:25 -0700 |
| commit | e5034d3a668fbf0a4367bb582d759ba82b5576a3 (patch) | |
| tree | b0b658d254fe6a710183e60e792bb068263e77df /tests/22-nested-struct.sml | |
| parent | Use code generation for printing the AST (diff) | |
| download | sml-e5034d3a668fbf0a4367bb582d759ba82b5576a3.tar.zst | |
Support struct expressions
Diffstat (limited to 'tests/22-nested-struct.sml')
| -rw-r--r-- | tests/22-nested-struct.sml | 9 |
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 |
