]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3302.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / tools / rustfmt / tests / target / issue-3302.rs
1 // rustfmt-version: Two
2
3 macro_rules! moo1 {
4     () => {
5         bar! {
6         "
7 "
8         }
9     };
10 }
11
12 macro_rules! moo2 {
13     () => {
14         bar! {
15         "
16 "
17         }
18     };
19 }
20
21 macro_rules! moo3 {
22     () => {
23         42
24         /*
25         bar! {
26         "
27         toto
28 tata"
29         }
30         */
31     };
32 }
33
34 macro_rules! moo4 {
35     () => {
36         bar! {
37         "
38     foo
39         bar
40 baz"
41         }
42     };
43 }