Sign in
android
/
toolchain
/
rustc
/
cd1aefd586783f162dd848e314bd6991a5ffe033
/
.
/
tests
/
ui
/
proc-macro
/
struct-field-macro.rs
blob: 460f4d9f726f34be38ada828199932b5b83f9c20 [
file
] [
log
] [
blame
]
// 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
()
{}