testsuite: restrict test to c++11 and later [PR97590]
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Oct 2020 13:45:15 +0000 (14:45 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 27 Oct 2020 13:45:15 +0000 (14:45 +0100)
2020-10-27  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/97560
PR testsuite/97590
* g++.dg/pr97560.C: Require c++11 effective target and add comment
with PR number.

gcc/testsuite/g++.dg/pr97560.C

index f9e7edfcaf9aaf3ecf8661a561a13bd3363c6e7b..59313f972df3e19091bc501705dc63cdddb757e6 100644 (file)
@@ -1,4 +1,5 @@
-// { dg-do compile }
+// PR tree-optimization/97560
+// { dg-do compile { target c++11 } }
 // { dg-options "-O2 -fno-tree-forwprop -fnon-call-exceptions" }
 
 template <typename>