mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
16 lines
281 B
Rust
16 lines
281 B
Rust
// run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(unused_variables)]
|
|
// Test that removed keywords are allowed as identifiers.
|
|
fn main () {
|
|
let offsetof = ();
|
|
let alignof = ();
|
|
let sizeof = ();
|
|
let pure = ();
|
|
}
|
|
|
|
fn offsetof() {}
|
|
fn alignof() {}
|
|
fn sizeof() {}
|
|
fn pure() {}
|