blob: 9d06980fca97d6290751861b9f3ab3bd2a5fde36 [file] [log] [blame]
//@ run-pass
mod m {
pub struct S {
pub x: isize,
pub y: isize
}
}
pub fn main() {
let x = m::S { x: 1, y: 2 };
let m::S { x: _a, y: _b } = x;
}