about summary refs log tree commit diff
path: root/tests/crashes/131406.rs
blob: ea642f949280ddaeb5c91f868c1b880b0a564d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ known-bug: #131406

trait Owner {
    const C<const N: u32>: u32 = N;
}

impl Owner for () {}
fn take0<const N: u64>(_: impl Owner<C<N> = { N }>) {}

fn main() {
    take0::<128>(());
}