mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +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(());
|
|
}
|