diff options
| author | Peter Todd <pete@petertodd.org> | 2019-05-06 17:06:59 -0400 |
|---|---|---|
| committer | Peter Todd <pete@petertodd.org> | 2019-05-06 17:26:35 -0400 |
| commit | 48d1be4f46225350bb59f87a46bf2f6cba041013 (patch) | |
| tree | a99e320ea4cdeb10b09048489955400bec8f64bb /src/test/ui/thinlto | |
| parent | c3b8ab5199af4a3c11d14b0cbdb17a641e8eee71 (diff) | |
| download | rust-48d1be4f46225350bb59f87a46bf2f6cba041013.tar.gz rust-48d1be4f46225350bb59f87a46bf2f6cba041013.zip | |
Test interaction of unions with non-zero/niche-filling optimization
Notably this nails down part of the behavior that MaybeUninit assumes, e.g. that a Option<MaybeUninit<&u8>> does not take advantage of non-zero optimization, and thus is a safe construct.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
