]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/feature-gate-repr-simd.rs
New upstream version 1.22.1+dfsg1
[rustc.git] / src / test / compile-fail / feature-gate-repr-simd.rs
index fdafb2ad950c9bc037c2bc3c6e69cca80bf60529..429cec7ec90d05076456f82abf144c65f2624e0c 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[repr(simd)]
-struct Foo(u64, u64); //~ error: SIMD types are experimental
+#[repr(simd)] //~ error: SIMD types are experimental
+struct Foo(u64, u64);
 
 fn main() {}