mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
12 lines
151 B
Rust
12 lines
151 B
Rust
// Syntactically, a foreign static may have a body.
|
|
|
|
// check-pass
|
|
|
|
fn main() {}
|
|
|
|
#[cfg(FALSE)]
|
|
extern "C" {
|
|
static X: u8;
|
|
static mut Y: u8;
|
|
}
|