mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
testsuite: Change 3 tests from c++14 to c++11
These tests are valid C++11, so we can run them in C++11 too. 2024-11-15 Jakub Jelinek <jakub@redhat.com> * g++.dg/tree-ssa/pr116868.C: Change effective target from c++14 to c++11. * g++.dg/tree-ssa/pr96945.C: Likewise. * g++.dg/tree-ssa/pr110819.C: Likewise.
This commit is contained in:
parent
1910ecf15b
commit
e505081980
@ -1,4 +1,4 @@
|
||||
// { dg-do compile { target c++14 } }
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O1 -fdump-tree-optimized" }
|
||||
#include<vector>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-do compile { target c++14 } }
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O2 -fdump-tree-optimized" }
|
||||
#include <vector>
|
||||
int sumVector() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-do compile { target c++14 } }
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-O1 -fdump-tree-optimized" }
|
||||
#include <vector>
|
||||
struct c {
|
||||
|
Loading…
Reference in New Issue
Block a user