rust/src/test/run-pass/expr-elseif-ref2.rs
2011-07-27 15:54:33 +02:00

9 lines
137 B
Rust

// xfail-stage0
// Regression test for issue #388
fn main() {
let x = if false { [0u] } else if (true) { [10u] } else { [0u] };
}