mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
11 lines
287 B
Rust
11 lines
287 B
Rust
// 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
|