From: Marek Polacek Date: Wed, 9 Sep 2020 18:17:08 +0000 (-0400) Subject: testsuite: Use C++14 in g++.dg/warn/Wnonnull6.C. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=782d3ea603c9ad26176136ffb39481a720246be1;p=gcc.git testsuite: Use C++14 in g++.dg/warn/Wnonnull6.C. This test uses C++14 features so is failing with -std=c++11. gcc/testsuite/ChangeLog: * g++.dg/warn/Wnonnull6.C: Use target c++14. --- diff --git a/gcc/testsuite/g++.dg/warn/Wnonnull6.C b/gcc/testsuite/g++.dg/warn/Wnonnull6.C index dae6dd2d912..7eff7f6273b 100644 --- a/gcc/testsuite/g++.dg/warn/Wnonnull6.C +++ b/gcc/testsuite/g++.dg/warn/Wnonnull6.C @@ -1,7 +1,7 @@ /* PR c++/95984 - Internal compiler error: Error reporting routines re-entered - in -Wnonnull on a variadic lamnda + in -Wnonnull on a variadic lambda PR c++/missing -Wnonnull passing nullptr to a nonnull variadic lambda - { dg-do compile { target c++11 } } + { dg-do compile { target c++14 } } { dg-options "-Wall" } */ typedef int F (int);