]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/foreign-static-syntactic-pass.rs
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[rust.git] / src / test / 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 {
9     static X: u8 = 0;
10     static mut Y: u8 = 0;
11 }