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
rust
/
src
/
test
/
mir-opt
/
const_prop
/
slice_len.rs
6 lines
87 B
Rust
Raw
Normal View
History
Unescape
Escape
--bless more mir-opt tests.
2020-04-04 17:15:01 +00:00
// EMIT_MIR rustc.main.ConstProp.diff
Add some tests for constant propagation The results aren't ideal but they represent the current state.
2019-05-03 21:58:16 -04:00
fn
main
(
)
{
[const-prop] Handle Rvalue::Len
2019-05-20 05:46:33 -04:00
(
&
[
1
u32
,
2
,
3
]
as
&
[
u32
]
)
[
1
]
;
Add some tests for constant propagation The results aren't ideal but they represent the current state.
2019-05-03 21:58:16 -04:00
}
Reference in New Issue
Copy Permalink