This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4c02b4cf4c
rust
/
tests
/
ui
/
issues
/
issue-27054-primitive-binary-ops.rs
6 lines
83 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 07:18:55 -05:00
// run-pass
implement raw fat pointer ops
2015-09-05 13:27:43 -05:00
fn
main
(
)
{
let
x
=
&
mut
1
;
assert_eq!
(
*
x
+
{
*
x
=
2
;
1
}
,
2
)
;
}
Reference in New Issue
Copy Permalink