summaryrefslogtreecommitdiffstats
path: root/tests/ui/repr/issue-83505-repr-simd.rs
blob: 280b771d0153925fe3f0cc394af6c72a7eec8468 (plain)
1
2
3
4
5
6
7
8
9
10
// Regression test for the ICE described in #83505.

#![crate_type="lib"]

#[repr(simd)]
//~^ ERROR: attribute should be applied to a struct [E0517]
//~| ERROR: unsupported representation for zero-variant enum [E0084]
enum Es {}
static CLs: Es;
//~^ ERROR: free static item without body