Files
pplus-library/mojo/probes/check-uninitialized.mojo
T
2026-10-06 09:57:04 -04: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)