feat: replace end2end test and add more test

This commit is contained in:
2026-04-22 21:52:31 +02:00
parent 92eefb5cf1
commit c2fc11bbeb
17 changed files with 251 additions and 139 deletions
+18
View File
@@ -0,0 +1,18 @@
[expected_return_code]
42
[code]
fn main() -> i32 {
let x = 5;
let y = 10;
if x > 0 {
if y < 5 {
return 1;
} else {
return 42;
}
} else {
return 2;
}
}