Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
consts
/
const-expr-in-fixed-length-vec.rs
blob: a9960b4552b6e54f5f35985bd0964ab74d2b41de [
file
] [
log
] [
blame
]
// run-pass
// Check that constant expressions can be used for declaring the
// type of a fixed length vector.
// pretty-expanded FIXME #23616
pub
fn
main
()
{
const
FOO
:
usize
=
2
;
let
_v
:
[
isize
;
FOO
*
3
];
}