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

8 lines
101 B
Rust

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