mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 14:34:23 +00:00
10 lines
169 B
Rust
10 lines
169 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;
|
|
}
|