Fix bool_or.code test
This commit is contained in:
parent
0f777ae65d
commit
36a49d8a23
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
// example using if-then-else-fi with ||
|
||||
def main(field a, field b) -> (field):
|
||||
field y = if x + 2 == 4 || x * 2 == 2 then 1 else 0 fi
|
||||
field z = if y == 1 || y == 0 then y else 1
|
||||
field z = if y == 1 || y == 0 then y else 1 fi
|
||||
z == 1
|
||||
return z
|
||||
|
||||
|
|
Loading…
Reference in a new issue