mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 20:01:31 -05:00
* 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
10 lines
141 B
C
10 lines
141 B
C
// PR c++/85228
|
|
// { dg-do compile { target c++17 } }
|
|
|
|
template<int> struct A
|
|
{
|
|
enum E { e = []{ return 0; }() };
|
|
};
|
|
|
|
template class A<0>;
|