projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
919373a
)
testsuite: Use C++14 in g++.dg/warn/Wnonnull6.C.
author
Marek Polacek
<polacek@redhat.com>
Wed, 9 Sep 2020 18:17:08 +0000
(14:17 -0400)
committer
Marek Polacek
<polacek@redhat.com>
Wed, 9 Sep 2020 18:19:35 +0000
(14:19 -0400)
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.
gcc/testsuite/g++.dg/warn/Wnonnull6.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/warn/Wnonnull6.C
b/gcc/testsuite/g++.dg/warn/Wnonnull6.C
index dae6dd2d91259656ef121422e5c62e6295da1c49..7eff7f6273ba633b6b04b9b18c3c5975c1430949 100644
(file)
--- 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 lam
n
da
+ in -Wnonnull on a variadic lam
b
da
PR c++/missing -Wnonnull passing nullptr to a nonnull variadic lambda
- { dg-do compile { target c++1
1
} }
+ { dg-do compile { target c++1
4
} }
{ dg-options "-Wall" } */
typedef int F (int);