rust/src/test/compile-fail/swap-uninit.rs
2011-06-16 11:47:54 -07:00

8 lines
98 B
Rust

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