]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/struct-field-macro.rs
Rollup merge of #90018 - GuillaumeGomez:too-long-item-names, r=jsha
[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() {}