testsuite: restrict test to c++11 and later [PR97590]

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.
This commit is contained in:
Jakub Jelinek 2020-10-27 14:45:15 +01:00
parent 6d65ddca42
commit 31ec7242e1

View 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>