summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/diff-markers/item-with-attr.rs
blob: 985907c08b28ce62afcb82a3207f366e81058045 (plain)
1
2
3
4
5
6
7
8
9
10
#[attribute]
<<<<<<< HEAD //~ ERROR encountered diff marker
fn foo() {}
=======
fn bar() {}
>>>>>>> branch

fn main() {
    foo();
}