Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
consts
/
const-expr-in-vec-repeat.rs
blob: 4eaef25059b0b385ed23998cce15bff46a5111f8 [
file
] [
log
] [
blame
]
// run-pass
// Check that constant expressions can be used in vec repeat syntax.
// pretty-expanded FIXME #23616
pub
fn
main
()
{
const
FOO
:
usize
=
2
;
let
_v
=
[
0
;
FOO
*
3
*
2
/
2
];
}