1 // compile-flags:--test
4 // ignore-emscripten no subprocess support
7 use std::fmt::{Display, Formatter};
9 pub struct A(Vec<u32>);
12 fn fmt(&self, _f: &mut Formatter<'_>) -> fmt::Result {
20 let result = std::panic::catch_unwind(|| {
24 assert!(result.is_err());