Sign in
android
/
toolchain
/
rustc
/
bcf972c0208490b0eb3ce3c170c2db486ba945b3
/
.
/
src
/
test
/
ui
/
const-generics
/
generic_const_exprs
/
division.rs
blob: 098fa9e0447a46a070e825eda80a36ce02f5eee1 [
file
] [
log
] [
blame
]
// run-pass
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
fn
with_bound
<
const
N
:
usize
>()
where
[
u8
;
N
/
2
]:
Sized
{
let
_
:
[
u8
;
N
/
2
]
=
[
0
;
N
/
2
];
}
fn
main
()
{
with_bound
::<
4
>();
}