Files
pplus-library/mojo/probes/check-uninitialized.mojo
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05: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)