test: 更新 Bug1 测试用例
This commit is contained in:
parent
e1f36d9689
commit
7f074cb798
@ -1,17 +1,21 @@
|
||||
module: Main
|
||||
function: main
|
||||
parameter:
|
||||
return_type: int
|
||||
body:
|
||||
declare n1: int =1
|
||||
declare n2: int =2
|
||||
declare n3: int =1
|
||||
if n1 ==1 then
|
||||
if n2 ==2 then
|
||||
n3 =3
|
||||
foo()
|
||||
|
||||
return 0
|
||||
end body
|
||||
end function
|
||||
|
||||
function: foo
|
||||
return_type: int
|
||||
body:
|
||||
if false then
|
||||
return 1
|
||||
end if
|
||||
end if
|
||||
return n3
|
||||
|
||||
return 0
|
||||
end body
|
||||
end function
|
||||
end module
|
||||
Loading…
x
Reference in New Issue
Block a user