Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
infinite
/
infinite-recursion-const-fn.rs
blob: 020c417bf61adaf3725d676b6c0deb1c7c441732 [
file
] [
log
] [
blame
]
//https://github.com/rust-lang/rust/issues/31364
const
fn
a
()
->
usize
{
b
()
}
//~ ERROR evaluation of constant value failed
const
fn
b
()
->
usize
{
a
()
}
const
ARR
:
[
i32
;
a
()]
=
[
5
;
6
];
fn
main
(){}