Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
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
(){}