testsuite: Fix up test language requirements [PR94314]

With c++11 one gets:
Excess errors:
.../testsuite/g++.dg/pr94314-4.C:19:28: error: too many arguments to function 'void operator delete(void*)'
because C++ sized deallocation is a C++14 feature.

2020-04-17  Jakub Jelinek  <jakub@redhat.com>

	PR c++/94314
	* g++.dg/pr94314-4.C: Require c++14 rather than c++11.
This commit is contained in:
Jakub Jelinek 2020-04-17 09:01:08 +02:00
parent 5315e1dafa
commit 61b58e7fa5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2020-04-17 Jakub Jelinek <jakub@redhat.com>
PR c++/94314
* g++.dg/pr94314-4.C: Require c++14 rather than c++11.
2020-04-16 Peter Bergner <bergner@linux.ibm.com>
PR rtl-optimization/93974

View file

@ -1,5 +1,5 @@
/* PR c++/94314. */
/* { dg-do run { target c++11 } } */
/* { dg-do run { target c++14 } } */
/* { dg-options "-O2 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */
int count = 0;