rust/src/test/compile-fail/swap-uninit.rs
2012-03-05 17:05:20 -08:00

4 lines
84 B
Rust

// error-pattern:unsatisfied precondition
fn main() { let x = 3; let y; x <-> y; }