]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/foreign-static-syntactic-pass.rs
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[rust.git] / src / test / ui / parser / foreign-static-syntactic-pass.rs
index 2c805e8a0b700b189063ca899900354ead93d346..599496346173a16eb06893346b50e60f2a671ef2 100644 (file)
@@ -5,7 +5,7 @@
 fn main() {}
 
 #[cfg(FALSE)]
-extern {
-    static X: u8 = 0;
-    static mut Y: u8 = 0;
+extern "C" {
+    static X: u8;
+    static mut Y: u8;
 }