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