blob: 83b73350f83b6fe923eb31612bd3f825b23efce1 [file] [log] [blame]
//@ check-pass
// regression test for #136894.
// I (BoxyUwU) don't know what the underlying cause was here
#![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!()
}