Files
pplus-library/mojo/probes/match-statement.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

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")