mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
13 lines
196 B
Rust
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(());
|
|
}
|