Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
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
];
}