rust/tests/run-pass/constants.rs
Scott Olson f9c1cfa889 Remove now-useless #[miri_run] attributes.
Except for `ints.rs`, which is already handled by a pending pull request.
2016-06-17 22:52:30 -06:00

10 lines
92 B
Rust

const A: usize = *&5;
fn foo() -> usize {
A
}
fn main() {
assert_eq!(foo(), A);
}