]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/fn-body-optional-semantic-fail.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / parser / fn-body-optional-semantic-fail.rs
index 38def05e8f2b32468fc4176b2efd6d3e05599240..12df488802ecda5c6b108b703ca26b4e3e6dcb1c 100644 (file)
@@ -20,7 +20,7 @@ fn main() {
         fn f4() {} // OK.
     }
 
-    extern {
+    extern "C" {
         fn f5(); // OK.
         fn f6() {} //~ ERROR incorrect function inside `extern` block
     }