summaryrefslogtreecommitdiffstats
path: root/tests/ui/deref.rs
blob: 0d4e08ad95476995f98ae0433d3bdbd8df6875c1 (plain)
1
2
3
4
5
6
7
// run-pass
// pretty-expanded FIXME #23616

pub fn main() {
    let x: Box<isize> = Box::new(10);
    let _y: isize = *x;
}