summaryrefslogtreecommitdiffstats
path: root/src/test/ui/empty-allocation-rvalue-non-null.rs
blob: 2f5a5c4bbc6db0dcbf63a8b0d13960b6aadb0397 (plain)
1
2
3
4
5
6
7
8
// run-pass

#![allow(unused_variables)]
// pretty-expanded FIXME #23616

pub fn main() {
    let x = *Box::new(());
}