]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/eager-from-opaque.rs
Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup
[rust.git] / src / test / ui / hygiene / eager-from-opaque.rs
1 // Opaque macro can eagerly expand its input without breaking its resolution.
2 // Regression test for issue #63685.
3
4 // check-pass
5
6 macro_rules! foo {
7     () => {
8         "foo"
9     };
10 }
11
12 macro_rules! bar {
13     () => {
14         foo!()
15     };
16 }
17
18 fn main() {
19     format_args!(bar!());
20 }