diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-11-04 18:58:28 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-11-04 21:05:18 -0800 |
| commit | eaa183b7dfc841df75d42ace7a90ada1e40ff282 (patch) | |
| tree | 1d627b8088d5996a7bbf7c0a7439360e31de3dc3 /tests/230-signature.sml | |
| parent | Combine structs and expressions (diff) | |
| download | sml-eaa183b7dfc841df75d42ace7a90ada1e40ff282.tar.zst | |
Diffstat (limited to 'tests/230-signature.sml')
| -rw-r--r-- | tests/230-signature.sml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/230-signature.sml b/tests/230-signature.sml new file mode 100644 index 0000000..01a8494 --- /dev/null +++ b/tests/230-signature.sml @@ -0,0 +1,10 @@ +signature SIG = sig + val x : int +end + +structure Struct :> SIG = struct + val privateField = 41 + val x = 42 +end + +val _ = __builtin "exit" Struct.x |
