Debian Codegraph @

gcc/testsuite/rust/compile/issue-2775.rs

raw
1 // { dg-options "-w" }
2 #[lang = "sized"]
3 pub trait Sized {}
4
5 struct Ref<'a, T> {
6 x: &'a T,
7 }
8
9 pub fn test<'a, 'b, 'c>() {
10 let (_, &&Ref::<(&'_ i32, i32)> { x: &(a, b) }): (i32, &'_ &'b Ref<'b, (&'c i32, i32)>);
11 }