9 lines
144 B
Mojo
9 lines
144 B
Mojo
# probe: 1.1.0 notes: the read convention is a hard error
|
|
# expect: compile-error
|
|
def show(read x: Int):
|
|
print(x)
|
|
|
|
|
|
def main():
|
|
show(1)
|