index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
issues
/
issue-27054-primitive-binary-ops.rs
blob: 96b0edf838ebf3e9140bce045b698aa5df70038f (
plain
)
1
2
3
4
5
//@ run-pass
fn
main
()
{
let
x
=
&
mut
1
;
assert_eq!
(
*
x
+
{
*
x
=
2
;
1
},
2
);
}