aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/range-for21.C
blob: 4990b480be8e8ff97d1215cb94474e4eacf9388b (plain)
1
2
3
4
5
6
7
8
// PR c++/49983
// { dg-do compile { target c++11 } }

template <class T>
void f(T t)
{
  for (auto v : t);
}