PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / g++.dg / conflict-markers-1.C
blobbe3cb8859be6781d98faa95504e4a496c6254fbf
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" }
5 template <typename T>
6 struct foo
8   T t;
9 };
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