]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2457/extern_block_nonascii_forbidden.rs
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
[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() {}