1 // https://github.com/rust-lang/rust/issues/55223
6 long_live_the_unit: &'static (),
9 const FOO: &() = { //~ ERROR it is undefined behavior to use this value
10 //~^ ERROR encountered dangling pointer in final constant
12 unsafe { Foo { y: &y }.long_live_the_unit }