rust/tests/ui/parser/foreign-static-syntactic-pass.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
151 B
Rust
Raw Normal View History

// Syntactically, a foreign static may have a body.
// check-pass
fn main() {}
#[cfg(FALSE)]
2020-09-01 21:12:52 +00:00
extern "C" {
static X: u8;
static mut Y: u8;
}