Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
shadow1.rs
blob: 43d2764a98db3795e095122d884c9c71281e22c6 [
file
] [
log
] [
blame
]
fn
main
()
{
let
mut
x
=
5
;
let
mut
x
;
x
=
true
;
x
=
x
+
2
;
// { dg-error "cannot apply operator .+. to types bool and <integer>" }
}