about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/issue-3302.rs
blob: 5e0862cb399160a5b1aabe3b7f2dfc1487f88a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// rustfmt-style_edition: 2024

macro_rules! moo1 {
    () => {
        bar! {
"
"
        }
    };
}

macro_rules! moo2 {
    () => {
        bar! {
        "
"
        }
    };
}

macro_rules! moo3 {
    () => {
        42
        /*
        bar! {
        "
        toto
tata"
        }
        */
    };
}

macro_rules! moo4 {
    () => {
        bar! {
"
    foo
        bar
baz"
        }
    };
}