]> git.lizzy.rs Git - rust.git/blob - src/test/ui/empty-allocation-rvalue-non-null.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / empty-allocation-rvalue-non-null.rs
1 // run-pass
2
3 #![allow(unused_variables)]
4 // pretty-expanded FIXME #23616
5
6 pub fn main() {
7     let x = *Box::new(());
8 }