]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/struct-field-macro.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / proc-macro / struct-field-macro.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // aux-build:derive-nothing.rs
5
6 #[macro_use]
7 extern crate derive_nothing;
8
9 macro_rules! int {
10     () => { i32 }
11 }
12
13 #[derive(Nothing)]
14 struct S {
15     x: int!(),
16 }
17
18 fn main() {}