blob: e1185cfba266cb14d854430028a176546ef05a98 [file] [log] [blame]
// issue #500
fn main() {
let x = true;
let y = 1;
let z = x + y;
//~^ ERROR binary operation `+` cannot be applied to type `bool`
}