From eaa183b7dfc841df75d42ace7a90ada1e40ff282 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Tue, 4 Nov 2025 18:58:28 -0800 Subject: Add lists --- tests/250-list.sml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/250-list.sml (limited to 'tests/250-list.sml') diff --git a/tests/250-list.sml b/tests/250-list.sml new file mode 100644 index 0000000..4aeecf2 --- /dev/null +++ b/tests/250-list.sml @@ -0,0 +1,6 @@ +val _ = __builtin "exit" + (case [1, 2, 42] of + [] => 10 + | [x] => x + | [_, _, x] => x + | _ => 13) -- cgit v1.3.1