summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/conflict-markers-1.C
blob: be3cb8859be6781d98faa95504e4a496c6254fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Ensure that we don't complain about conflict markers on
   valid template argument lists, valid in C++11 onwards.  */
// { dg-options "-std=c++11" }

template <typename T>
struct foo
{
  T t;
};

foo <foo <foo <foo <foo <foo <foo <int
>>>>>>> f;
// The above line is valid C++11, and isn't a conflict marker