blob: 630c3c274998ffb2d9864c802b3a16787b70630e [file]
// { dg-options "-w" }
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
struct Pair<'a, T, U>
where
T: 'a,
U: 'a,
{
left: T,
right: U,
}
pub fn test<'a>() {
let a: i32 = 50;
let x = Pair {
left: &&a,
right: &a,
};
}