8 lines
156 B
Mojo
8 lines
156 B
Mojo
# probe: does Mojo 1.2.0 have a match statement? (yes)
|
|
# expect-stdout: two
|
|
def main():
|
|
var x = 2
|
|
match x:
|
|
case 2:
|
|
print("two")
|