tests: fix assignment to pointer (failing even with -cstrict on more recent clang versions) (#21158)

This commit is contained in:
Kim Shrier 2024-04-01 05:30:46 -06:00 committed by GitHub
parent 24af002249
commit 59a5a790c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ fn (it C.MyCStruct) wrap() MyWrapper {
fn test_main() {
dump(C.MyCStruct{
data: 123
data: &u8(123)
}.wrap())
assert true
}