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