summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/foreign-static-syntactic-pass.rs
blob: 599496346173a16eb06893346b50e60f2a671ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Syntactically, a foreign static may have a body.

// check-pass

fn main() {}

#[cfg(FALSE)]
extern "C" {
    static X: u8;
    static mut Y: u8;
}