blob: b2c3dd49de9425e02137ba2ef59ced949dfe045d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//@ 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() {}
|