1
0
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:
Alexander Medvednikov
2019-12-03 16:09:37 +03:00
parent b907cf2179
commit ff80e3a5fa
4 changed files with 17 additions and 2 deletions

View File

@ -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