]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/issue-83505-repr-simd.rs
Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcm
[rust.git] / src / test / ui / repr / issue-83505-repr-simd.rs
1 // Regression test for the ICE described in #83505.
2
3 #![crate_type="lib"]
4
5 #[repr(simd)]
6 //~^ ERROR: attribute should be applied to a struct [E0517]
7 //~| ERROR: unsupported representation for zero-variant enum [E0084]
8 enum Es {}
9 static CLs: Es;
10 //~^ ERROR: free static item without body