rust/tests/crashes/122681.rs

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),
}