Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
infinite
/
infinite-recursion-const-fn.rs
blob: 3c0b3b9741bd6bdef326fca463aaec32877aed70 [
file
] [
log
] [
blame
]
//https://github.com/rust-lang/rust/issues/31364
const
fn
a
()
->
usize
{
b
()
}
const
fn
b
()
->
usize
{
a
()
}
const
ARR
:
[
i32
;
a
()]
=
[
5
;
6
];
//~ ERROR reached the configured maximum number of stack frames
fn
main
()
{}