On Wed, Nov 13, 2019 at 08:44:31AM +0000, Richard Sandiford wrote: > PR c++/92206 > * g++.dg/cpp0x/alias-decl-pr92206-1.C: New test. > * g++.dg/cpp0x/alias-decl-pr92206-2.C: Likewise. > * g++.dg/cpp0x/alias-decl-pr92206-3.C: Likewise.
This last test FAILs with -std=c++11: /usr/src/gcc/gcc/testsuite/g++.dg/cpp0x/alias-decl-pr92206-3.C:8:37: error: variable templates only available with '-std=c++14' or '-std=gnu++14' Fixed thusly, committed as obvious: 2019-11-14 Jakub Jelinek <ja...@redhat.com> * g++.dg/cpp0x/alias-decl-pr92206-3.C: Require effective target c++14 rather than c++11. --- gcc/testsuite/g++.dg/cpp0x/alias-decl-pr92206-3.C.jj 2019-11-13 10:54:39.000000000 +0100 +++ gcc/testsuite/g++.dg/cpp0x/alias-decl-pr92206-3.C 2019-11-14 01:45:30.091949304 +0100 @@ -1,4 +1,4 @@ -// { dg-require-effective-target c++11 } +// { dg-require-effective-target c++14 } template <typename> void a(); template <typename> struct b; Jakub