leo/tests/parser/expression/binary/bit_or.leo

28 lines
291 B
Plaintext
Raw Normal View History

2022-06-16 22:53:53 +03:00
/*
namespace: ParseExpression
expectation: Pass
*/
1 | 1
2|3
1 | 2 | 3
1 ^ 2 | 3 ^ 4
1 | 2 | 3
1 ^ 2 | 3 ^ 4 | 5 ^ 6
!-x.or(y)
x.or(y).or(y).or(y)
-x.or(y)
(-x).or(y)
-(x.or(y))
(-x.or(y)).or(y)
!x.or(y)
(!x).or(y)
!(x.or(y))
(!x.or(y)).or(y)
(x.or(y) | x.or(y)).or(x.or(y) | x.or(y))