Files
pplus-web/mojo/probes/check-uninitialized.mojo
T
2026-10-05 03:03:38 +00:00

6 lines
134 B
Mojo

# probe: the compiler's words for reading a variable before it is set
# expect: compile-error
def main():
var x: Int
print(x)