mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
15 lines
206 B
Rust
15 lines
206 B
Rust
// regression test for #67609.
|
|
|
|
// check-pass
|
|
|
|
static NONE: Option<String> = None;
|
|
|
|
static NONE_REF_REF: &&Option<String> = {
|
|
let x = &&NONE;
|
|
x
|
|
};
|
|
|
|
fn main() {
|
|
println!("{:?}", NONE_REF_REF);
|
|
}
|