1 // This used to ICE during codegen after MIR inlining of g into f.
2 // The root cause was a missing fold of length constant in Rvalue::Repeat.
3 // Regression test for #76248.
6 // compile-flags: -Zmir-opt-level=3
15 pub fn f() -> Elem<()> {
20 pub fn g<M>(m: M) -> Elem<M> {