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
1d0fe1b6bb
rust
/
tests
/
run-pass
/
constants.rs
10 lines
92 B
Rust
Raw
Normal View
History
Unescape
Escape
jit interpretation of constants
2016-06-03 08:48:56 -05:00
const
A
:
usize
=
*
&
5
;
fn
foo
(
)
->
usize
{
A
}
Remove now-useless #[miri_run] attributes. Except for `ints.rs`, which is already handled by a pending pull request.
2016-06-17 23:52:24 -05:00
fn
main
(
)
{
assert_eq!
(
foo
(
)
,
A
)
;
}
Reference in New Issue
Copy Permalink