mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
9 lines
170 B
Rust
9 lines
170 B
Rust
//@ run-pass
|
|
#[deny(warnings)]
|
|
|
|
pub fn main() {
|
|
let _ = b"x" as &[u8];
|
|
let _ = b"y" as &[u8; 1];
|
|
let _ = b"z" as *const u8;
|
|
let _ = "ä" as *const str;
|
|
}
|