Skip to content

Commit 643e75a

Browse files
committed
Make the main program return 0
1 parent d4d63e7 commit 643e75a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/expr2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
def main():
1+
def main()->i32:
22
x: i32
33
x = (2+3)*5
44
print(x)
5+
return 0
56

67
# Not implemented yet in LPython:
78
#if __name__ == "__main__":

0 commit comments

Comments
 (0)