summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-const-items/recursive.rs
blob: 3266b37d380924eb52289f8f81bffa39fdc486ca (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::<()>;
}