rust/tests/ui/parser/foreign-static-syntactic-pass.rs
2024-02-16 20:02:50 +00:00

12 lines
152 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;
}