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
a2b1646c59
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 07:18:55 -05:00
// run-pass
Add tests for #16602 Closes #16602
2015-04-11 02:13:24 -05: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