blob: 03629542d8765889eb40a99ef5ce0d488b6e44dd [file]
/* { dg-output "Hello World\r*" }*/
#![feature(no_core)]
#![no_core]
extern "C" {
fn puts(s: *const i8);
}
fn main() -> i32 {
unsafe {
let a = "Hello World";
let b = a as *const str;
let c = b as *const i8;
puts(c);
}
0
}