Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
consts
/
const-const.rs
blob: 85e4a72e86d658daab4a02972cdce36871305176 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_upper_case_globals
)]
const
a
:
isize
=
1
;
const
b
:
isize
=
a
+
2
;
pub
fn
main
()
{
assert_eq
!(
b
,
3
);
}