about summary refs log tree commit diff
path: root/tests/crashes/136766.rs
blob: 01fa07a05ae355f3ed3eed8b0b98ae2a252f27cc (plain)
1
2
3
4
5
6
//@ known-bug: #136766
#![feature(generic_const_exprs)]
trait A<const B: bool>{}
impl A<true> for () {}
fn c<const D: usize>(E: [u8; D * D]) where() : A<D>{}
fn main() { c }