From: Jakub Jelinek Date: Tue, 27 Oct 2020 13:45:15 +0000 (+0100) Subject: testsuite: restrict test to c++11 and later [PR97590] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31ec7242e1ff1e8da376ec9ffef10b07ac562881;p=gcc.git testsuite: restrict test to c++11 and later [PR97590] 2020-10-27 Jakub Jelinek PR tree-optimization/97560 PR testsuite/97590 * g++.dg/pr97560.C: Require c++11 effective target and add comment with PR number. --- diff --git a/gcc/testsuite/g++.dg/pr97560.C b/gcc/testsuite/g++.dg/pr97560.C index f9e7edfcaf9..59313f972df 100644 --- a/gcc/testsuite/g++.dg/pr97560.C +++ b/gcc/testsuite/g++.dg/pr97560.C @@ -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