rust/tests/crashes/136766.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
174 B
Rust
Raw Normal View History

2025-03-07 23:17:25 +01:00
//@ 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 }