Skip to content

Commit

Permalink
tests: fix assignment to pointer (failing even with -cstrict on mor…
Browse files Browse the repository at this point in the history
…e recent clang versions) (#21158)
  • Loading branch information
kimshrier committed Apr 1, 2024
1 parent 24af002 commit 59a5a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/tests/c_structs/cstruct_ref_test.v
Expand Up @@ -16,7 +16,7 @@ fn (it C.MyCStruct) wrap() MyWrapper {

fn test_main() {
dump(C.MyCStruct{
data: 123
data: &u8(123)
}.wrap())
assert true
}

0 comments on commit 59a5a79

Please sign in to comment.