]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2457/extern_block_nonascii_forbidden.rs
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
[rust.git] / src / test / ui / rfc-2457 / extern_block_nonascii_forbidden.rs
1 #![feature(extern_types)]
2
3 extern "C" {
4     type 一; //~ items in `extern` blocks cannot use non-ascii identifiers
5     fn 二(); //~ items in `extern` blocks cannot use non-ascii identifiers
6     static 三: usize; //~ items in `extern` blocks cannot use non-ascii identifiers
7 }
8
9 fn main() {}