]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/feature-gates/feature-gate-simd-ffi.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-simd-ffi.rs
index 0425e39e67745bee15394a8552637525b0acba0c..abffa4a10010d5bc9b1278c754c3fe322b2e3177 100644 (file)
@@ -5,7 +5,7 @@
 #[derive(Copy, Clone)]
 struct LocalSimd(u8, u8);
 
-extern {
+extern "C" {
     fn baz() -> LocalSimd; //~ ERROR use of SIMD type
     fn qux(x: LocalSimd); //~ ERROR use of SIMD type
 }