2021-06-18 21:39:53 +02:00
|
|
|
// 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]
|
2025-01-07 21:36:37 +01:00
|
|
|
//~| ERROR: SIMD types are experimental and possibly buggy [E0658]
|
|
|
|
|
|
2021-06-18 21:39:53 +02:00
|
|
|
enum Es {}
|
|
|
|
|
static CLs: Es;
|
|
|
|
|
//~^ ERROR: free static item without body
|