19 lines
212 B
Rust
19 lines
212 B
Rust
//@ 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() {}
|