rust/tests/crashes/126182.rs
Matthias Krüger ff096f83f7 more ice tests
2024-06-16 20:38:08 +02:00

11 lines
177 B
Rust

//@ known-bug: rust-lang/rust#126182
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
struct Cond<const B: bool>;
struct Thing<T = Cond<0>>(T);
impl Thing {}