about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-6332.rs
blob: 25660a3ce85324394f2e806ec2f4f583ebfa1eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

fn cmark_check() {
    let mut link_err = false;
    macro_rules! cmark_error {
        ($bad:expr) => {
            *$bad = true;
        };
    }
    cmark_error!(&mut link_err);
}

pub fn main() {}