rust/src/test/compile-fail/binop-add-tup.rs
2011-07-26 14:49:40 +02:00

6 lines
128 B
Rust

// xfail-stage0
// error-pattern:+ cannot be applied to type `rec(bool x)`
fn main() {
auto x = rec(x=true) + rec(x=false);
}