Debian Codegraph @

gcc/testsuite/g++.dg/conflict-markers-1.C

raw
1 /* Ensure that we don't complain about conflict markers on
2 valid template argument lists, valid in C++11 onwards. */
3 // { dg-options "-std=c++11" }
4
5 template <typename T>
6 struct foo
7 {
8 T t;
9 };
10
11 foo <foo <foo <foo <foo <foo <foo <int
12 >>>>>>> f;
13 // The above line is valid C++11, and isn't a conflict marker