1 2 3 4 5 6 7 8 9
// build-pass #![allow(unused_must_use)] #[allow(dead_code)] fn check(a: &str) { let x = a as *const str; x == x; } fn main() {}