blob: bebbc636728fd1ec2396b2ec9522789592130636 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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]
//~| ERROR: SIMD types are experimental and possibly buggy [E0658]
enum Es {}
static CLs: Es;
//~^ ERROR: free static item without body
|