rust/tests/crashes/126969.rs

10 lines
125 B
Rust
Raw Normal View History

2024-07-04 16:44:10 -05:00
//@ known-bug: rust-lang/rust#126969
struct S<T> {
_: union { t: T },
}
fn f(S::<&i8> { .. }: S<&i8>) {}
fn main() {}