diff options
author | Gavin Li <gavin@matician.com> | 2022-05-12 13:38:17 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-05-17 13:58:45 +0200 |
commit | 5a01c551993e56d20240ef64d0ec78cd4195855d (patch) | |
tree | 3c64102b533667e36c03f9cab6ff643b9814ebbf /tests/headers/struct_with_large_array.hpp | |
parent | 92487d4ed4c7ed0c006f461986b410b17f24cfa8 (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/struct_with_large_array.hpp')
0 files changed, 0 insertions, 0 deletions