rust/tests/ui/typestate-multi-decl.rs
2023-01-11 09:32:08 +00:00

8 lines
100 B
Rust

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