Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
const-generics
/
issues
/
issue-75299.rs
blob: 23f30a1eea073729c75034a1a949055420b2b495 [
file
] [
log
] [
blame
]
// compile-flags: -Zmir-opt-level=3
// run-pass
#![
feature
(
const_generics
)]
#![
allow
(
incomplete_features
)]
fn
main
()
{
fn
foo
<
const
N
:
usize
>()
->
[
u8
;
N
]
{
[
0
;
N
]
}
let
_x
=
foo
::<
1
>();
}