mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
10 lines
293 B
Rust
10 lines
293 B
Rust
#![feature(extern_types)]
|
|
|
|
extern "C" {
|
|
type 一; //~ items in `extern` blocks cannot use non-ascii identifiers
|
|
fn 二(); //~ items in `extern` blocks cannot use non-ascii identifiers
|
|
static 三: usize; //~ items in `extern` blocks cannot use non-ascii identifiers
|
|
}
|
|
|
|
fn main() {}
|