* g++.dg/*.C: Use target c++17 instead of explicit dg-options. * lib/g++-dg.exp: Don't test C++11 by default. Add C++17 to the list of default stds to test. From-SVN: r265343
9 lines
115 B
C
9 lines
115 B
C
// PR c++/85305
|
|
// { dg-do compile { target c++17 } }
|
|
|
|
template <int... Is>
|
|
void foo()
|
|
{
|
|
([i = Is]{}(), ...);
|
|
}
|