// run-pass// needs-unwind// aux-build:expand-with-a-macro.rs// ignore-wasm32-bare compiled with panic=abort by default#![deny(warnings)]#[macro_use]externcrateexpand_with_a_macro;usestd::panic;#[derive(A)]structA;fnmain(){assert!(panic::catch_unwind(||{A.a();}).is_err());}