1 // RUN: %clang_cc1 %s -verify -fsyntax-only
3 // Test that we recover gracefully from conflict markers left in input files.
6 // diff3 style expected-error@+1 {{version control conflict marker in file}}
15 // normal style expected-error@+1 {{version control conflict marker in file}}
19 typedef struct foo
*y
;
22 // Perforce style expected-error@+1 {{version control conflict marker in file}}
23 >>>> ORIGINAL conflict
-marker
.c
#6
25 ==== THEIRS conflict
-marker
.c
#7
27 ==== YOURS conflict
-marker
.c
40 <<<<<<<>>>>>>> // expected-error {{expected identifier}}