summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4312.rs
blob: b36b0efdb9e29dbf4e9d8b37bbcaea5586beb4db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// issue 4312
fn main() {
    /* " */
    println!("Hello, world!");
    /* abc " */
    println!("Hello, world!");
    /* " abc */
    println!("Hello, world!");
    let y = 4;
    let x = match 1 + y == 3 {
        True => 3,
        False => 4,
        /* " unreachable */
    };
}

// issue 4806
enum X {
    A,
    B,
    /*"*/
}