]> git.proxmox.com Git - rustc.git/blame - src/test/ui/binop/binop-typeck.rs
New upstream version 1.42.0+dfsg1
[rustc.git] / src / test / ui / binop / binop-typeck.rs
CommitLineData
223e47cc
LB
1// issue #500
2
3fn main() {
4 let x = true;
5 let y = 1;
6 let z = x + y;
dfeec247 7 //~^ ERROR cannot add `{integer}` to `bool`
223e47cc 8}