// regression test for #67609. // check-pass static NONE: Option = None; static NONE_REF_REF: &&Option = { let x = &&NONE; x }; fn main() { println!("{:?}", NONE_REF_REF); }