mirror of
https://github.com/vlang/v.git
synced 2025-09-14 18:06:48 -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() {
|
fn test_main() {
|
||||||
dump(C.MyCStruct{
|
dump(C.MyCStruct{
|
||||||
data: 123
|
data: &u8(123)
|
||||||
}.wrap())
|
}.wrap())
|
||||||
assert true
|
assert true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user