Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
proc-macro
/
expand-with-a-macro.rs
blob: 042a283659517791b3ac18a25c236e7fd1363ff5 [
file
] [
log
] [
blame
]
// run-pass
// needs-unwind
// aux-build:expand-with-a-macro.rs
#![
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
());
}