This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-03 13:37:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
7b8644e5cf
rust
/
tests
/
ui
/
codegen
/
issue-16602-1.rs
7 lines
113 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 12:18:55 +00:00
// run-pass
Add tests for #16602 Closes #16602
2015-04-11 07:13:24 +00:00
fn
main
(
)
{
let
mut
t
=
[
1
;
2
]
;
t
=
[
t
[
1
]
*
2
,
t
[
0
]
*
2
]
;
assert_eq!
(
&
t
[
..
]
,
&
[
2
,
2
]
)
;
}
Reference in New Issue
Copy Permalink