]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs
Auto merge of #106646 - Amanieu:ilp32-object, r=Mark-Simulacrum
[rust.git] / tests / ui / rfcs / rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs
1 // run-pass
2 #![allow(dead_code)]
3 #![allow(unused_variables)]
4 // Test that removed keywords are allowed as identifiers.
5 fn main () {
6     let offsetof = ();
7     let alignof = ();
8     let sizeof = ();
9     let pure = ();
10 }
11
12 fn offsetof() {}
13 fn alignof() {}
14 fn sizeof() {}
15 fn pure() {}