9 // This will error as long as this test is run on a system whose
10 // pointers need more than 8 bits.
11 Bar { a: &42 }.b as u8
16 // This will compile, but then hard-abort at runtime.
17 // FIXME(oli-obk): this should instead panic (not hard-abort) at runtime.
18 let x: &'static u8 = &(bar() + 1);
19 //~^ ERROR temporary value dropped while borrowed