tests for local variables
This commit is contained in:
@@ -9,6 +9,8 @@ export fn _start() -> unreachable {
|
||||
let b = 2;
|
||||
// let c : i32; // not yet support for const variables
|
||||
// let d; // parse error
|
||||
puts("Hello, world!");
|
||||
exit(a + b);
|
||||
if (a + b == 3) {
|
||||
puts("OK");
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user