ci: fix failing -Werror job with tcc

pull/8310/head
Delyan Angelov 2021-03-19 09:34:41 +02:00
parent 9ea88c090b
commit ea3d1405ee
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 5 additions and 3 deletions

View File

@ -33,7 +33,7 @@ const (
]
skip_with_fsanitize_undefined = []string{}
skip_with_werror = [
'vlib/builtin/array_test.v',
'vlib/sync/array_rlock_test.v',
'vlib/clipboard/clipboard_test.v',
'vlib/dl/dl_test.v',
'vlib/dl/example/use_test.v',

View File

@ -1064,8 +1064,10 @@ fn test_array_int_pop() {
z := a.pop()
assert a.len == 3
assert z == 4
a.pop()
a.pop()
x1 := a.pop()
x2 := a.pop()
dump(x1)
dump(x2)
final := a.pop()
assert final == 1
}