summary refs log tree commit diff
path: root/tests/ui/generic-const-items/recursive.rs
blob: 8244772168b34d038fd76a696de9f6abc3037a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// FIXME(generic_const_items): This leads to a stack overflow in the compiler!
//@ known-bug: unknown
//@ ignore-test

#![feature(generic_const_items)]
#![allow(incomplete_features)]

const RECUR<T>: () = RECUR::<(T,)>;

fn main() {
    let _ = RECUR::<()>;
}