rust/tests/crashes/100618.rs
2024-04-18 18:55:20 +02:00

13 lines
196 B
Rust

//@ known-bug: #100618
//@ compile-flags: -Cdebuginfo=2
//@ only-x86_64
enum Foo<T: 'static> {
Value(T),
Recursive(&'static Foo<Option<T>>),
}
fn main() {
let _x = Foo::Value(());
}