feat: replace end2end test and add more test
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[expected_return_code]
|
||||
100
|
||||
|
||||
[code]
|
||||
fn main() -> i32 {
|
||||
let a = 10;
|
||||
|
||||
if a == 10 {
|
||||
a = 100;
|
||||
}
|
||||
|
||||
if a == 5 {
|
||||
a = 0; // Should be skipped
|
||||
}
|
||||
|
||||
return a;
|
||||
}
|
||||
Reference in New Issue
Block a user