rust/tests/ui/repr/issue-83505-repr-simd.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
287 B
Rust
Raw Normal View History

2021-06-18 14:39:53 -05: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]
enum Es {}
static CLs: Es;
//~^ ERROR: free static item without body