]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/none-delim-lookahead.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / macros / none-delim-lookahead.rs
1 // check-pass
2
3 macro_rules! make_struct {
4     ($name:ident) => {
5         #[derive(Debug)]
6         struct Foo {
7             #[cfg(not(FALSE))]
8             field: fn($name: bool)
9         }
10     }
11 }
12
13 make_struct!(param_name);
14
15 fn main() {}