mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
i8 print test + $if mac => $if macos
This commit is contained in:
@ -75,6 +75,16 @@ fn test_and() {
|
||||
assert c[4] & 1 != 0
|
||||
}
|
||||
|
||||
fn test_i8_print() {
|
||||
b := i8(0)
|
||||
println(b)
|
||||
c := i16(7)
|
||||
println(c)
|
||||
d := u16(6)
|
||||
println(d)
|
||||
assert true
|
||||
}
|
||||
|
||||
/*
|
||||
fn test_cmp() {
|
||||
assert 1 ≠ 2
|
||||
|
Reference in New Issue
Block a user