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
2024-11-23 15:23:46 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
688a4ddd20
rust
/
src
/
test
/
mir-opt
/
const_prop
/
array_index.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-04 01:58:16 +00:00
fn
main
(
)
{
let
x
:
u32
=
[
0
,
1
,
2
,
3
]
[
2
]
;
}
Reference in New Issue
Copy Permalink