]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/none-delim-lookahead.rs
Merge commit 'a8385522ade6f67853edac730b5bf164ddb298fd' into simd-remove-autosplats
[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() {}