rust/tests/crashes/127972.rs

7 lines
162 B
Rust
Raw Normal View History

2024-07-21 10:50:57 -05:00
//@ known-bug: #127962
#![feature(generic_const_exprs, const_arg_path)]
2024-07-21 10:50:57 -05:00
fn zero_init<const usize: usize>() -> Substs1<{ (N) }> {
Substs1([0; { (usize) }])
}