1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failing -Werror job with tcc

This commit is contained in:
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_fsanitize_undefined = []string{}
skip_with_werror = [ skip_with_werror = [
'vlib/builtin/array_test.v', 'vlib/sync/array_rlock_test.v',
'vlib/clipboard/clipboard_test.v', 'vlib/clipboard/clipboard_test.v',
'vlib/dl/dl_test.v', 'vlib/dl/dl_test.v',
'vlib/dl/example/use_test.v', 'vlib/dl/example/use_test.v',

View File

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