rust/tests/ui/typestate-multi-decl.rs

8 lines
101 B
Rust

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