about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2019-05-06 17:06:59 -0400
committerPeter Todd <pete@petertodd.org>2019-05-06 17:26:35 -0400
commit48d1be4f46225350bb59f87a46bf2f6cba041013 (patch)
treea99e320ea4cdeb10b09048489955400bec8f64bb /src/test/ui/thinlto
parentc3b8ab5199af4a3c11d14b0cbdb17a641e8eee71 (diff)
downloadrust-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