Skip to content

Commit

Permalink
fix assignment to pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
kimshrier committed Apr 1, 2024
1 parent 24af002 commit bc1fee1
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
Original file line number Diff line number Diff line change
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 bc1fee1

Please sign in to comment.