rust/tests/ui/binding/multi-let.rs
2024-02-16 20:02:50 +00:00

8 lines
86 B
Rust

//@ run-pass
pub fn main() {
let x = 10;
let y = x;
assert_eq!(y, 10);
}