summaryrefslogtreecommitdiff
path: root/tests/headers/typedefd-array-as-function-arg.h
diff options
context:
space:
mode:
authorGavin Li <gavin@matician.com>2022-05-12 13:38:17 -0700
committerEmilio Cobos Álvarez <emilio@crisal.io>2022-05-17 13:58:45 +0200
commit5a01c551993e56d20240ef64d0ec78cd4195855d (patch)
tree3c64102b533667e36c03f9cab6ff643b9814ebbf /tests/headers/typedefd-array-as-function-arg.h
parent92487d4ed4c7ed0c006f461986b410b17f24cfa8 (diff)
Fix "dereferencing a null pointer" in C layout tests
Instead of dereferencing a null pointer, create a MaybeUninit from which we can extract well-defined addresses.
Diffstat (limited to 'tests/headers/typedefd-array-as-function-arg.h')
0 files changed, 0 insertions, 0 deletions