]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/foreign-static-syntactic-pass.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / parser / foreign-static-syntactic-pass.rs
1 // Syntactically, a foreign static may have a body.
2
3 // check-pass
4
5 fn main() {}
6
7 #[cfg(FALSE)]
8 extern "C" {
9     static X: u8;
10     static mut Y: u8;
11 }