try to fix unnecessarily fragile smir test

This commit is contained in:
Ralf Jung 2024-03-26 08:47:51 +01:00
parent 6e190fa993
commit 132921e187

View file

@ -137,9 +137,9 @@ fn generate_input(path: &str) -> std::io::Result<()> {
write!(
file,
r#"
#![feature(panic_internals)]
fn panic_str(msg: &str) {{ panic!("{{}}", msg); }}
pub fn dummy() {{
core::panicking::panic_str("oops");
panic_str("oops");
}}
"#
)?;