mirror of
https://github.com/vlang/v.git
synced 2025-09-13 01:16:02 -04:00
tests: fix assignment to pointer (failing even with -cstrict
on more recent clang versions) (#21158)
This commit is contained in:
parent
24af002249
commit
59a5a790c9
@ -16,7 +16,7 @@ fn (it C.MyCStruct) wrap() MyWrapper {
|
||||
|
||||
fn test_main() {
|
||||
dump(C.MyCStruct{
|
||||
data: 123
|
||||
data: &u8(123)
|
||||
}.wrap())
|
||||
assert true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user