Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
proc-macro
/
struct-field-macro.rs
blob: b2c3dd49de9425e02137ba2ef59ced949dfe045d [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#![
allow
(
dead_code
)]
//@ aux-build:derive-nothing.rs
#[
macro_use
]
extern
crate derive_nothing
;
macro_rules
!
int
{
()
=>
{
i32
}
}
#[
derive
(
Nothing
)]
struct
S
{
x
:
int
!(),
}
fn
main
()
{}