iter ct.4.3: prose qualifier-trim-on-print + ordering_match snapshot

This commit is contained in:
2026-05-11 09:58:22 +02:00
parent 1d039b782e
commit 06bc5f017c
3 changed files with 228 additions and 87 deletions
+11
View File
@@ -0,0 +1,11 @@
// module ordering_match
/// Iter 23.1 fixture: pattern-match on prelude Ordering ctor without explicit
/// prelude import.
fn main() -> Unit with IO {
do io/print_int(match LT {
LT => 1,
EQ => 2,
GT => 3
})
}