rust/tests/crashes/122681.rs

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

11 lines
172 B
Rust
Raw Normal View History

//@ known-bug: #122681
#[rustc_layout_scalar_valid_range_start(1)]
struct UnitStruct;
#[derive(Default)]
enum SomeEnum {
#[default]
Unit,
Tuple(UnitStruct),
}