rust/tests/crashes/131406.rs

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

13 lines
190 B
Rust
Raw Normal View History

2024-10-09 08:34:45 -05:00
//@ 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>(());
}