rust/tests/crashes/136894.rs

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

9 lines
212 B
Rust
Raw Permalink Normal View History

2025-03-07 23:17:25 +01:00
//@ known-bug: #136894
#![feature(generic_const_exprs)]
#![crate_type = "lib"]
#![allow(incomplete_features, dead_code)]
struct X<T>([(); f::<T>()]) where [(); f::<T>()]:;
const fn f<T>() -> usize { panic!() }