blob: 1384ecc6ef251027e708e116e022c9c90f1af9f2 [file] [log] [blame] [edit]
struct A;
fn main() {
println!("{:?}", 1.0 as *const A); //~ERROR casting `f64` as `*const A` is invalid
}