about summary refs log tree commit diff
path: root/tests/ui/explicit-tail-calls/infinite-recursion-in-ctfe.rs
blob: 0c55f13c16c22723d25e69cdf703f703cd8bfb4b (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(explicit_tail_calls)]
#![expect(incomplete_features)]

const _: () = f();

const fn f() {
    become f(); //~ error: constant evaluation is taking a long time
}

fn main() {}