rust/tests/crashes/127972.rs

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

7 lines
162 B
Rust
Raw Permalink Normal View History

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