view gcc/testsuite/c-c++-common/conflict-markers-6.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Branch coverage of conflict marker detection:
   none of these should be reported as conflict markers.  */

int a0;

<< HEAD  /* { dg-error "expected" } */

int a1;

<<<< HEAD  /* { dg-error "expected" } */

int a2;

<<<<<< HEAD  /* { dg-error "expected" } */

int b0;

== HEAD  /* { dg-error "expected" } */

int b1;

==== HEAD  /* { dg-error "expected" } */

int b2;

====== HEAD  /* { dg-error "expected" } */

int c0;

>> HEAD  /* { dg-error "expected" } */

int c1;

>>>> HEAD  /* { dg-error "expected" } */

int c2;

>>>>>> HEAD  /* { dg-error "expected" } */