iter ct.4.3: prose qualifier-trim-on-print + ordering_match snapshot
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user