nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
contrib/objcwrapper: add some doc and license
[nit.git]
/
tests
/
test_binariesop.nit
1
var
a
=
5
2
var
b
=
5
3
4
print a
&
b
5
print a
|
b
6
print a ^ b
7
8
a
=
0
9
b
=
5
10
11
print a
&
b
12
print a
|
b
13
print a ^ b
14
15
print ~a
16
17
var
c
=
5
u8
18
var
d
=
5
u8
19
20
print c
&
d
21
print c
|
d
22
print c ^ d
23
24
print ~c