blob: 418178d0f0ead071c24efda048d43721ac535eec [file] [log] [blame]
// run-pass
// aux-build:expand-with-a-macro.rs
// ignore-wasm32-bare compiled with panic=abort by default
#![deny(warnings)]
#[macro_use]
extern crate expand_with_a_macro;
use std::panic;
#[derive(A)]
struct A;
fn main() {
assert!(panic::catch_unwind(|| {
A.a();
}).is_err());
}