diff mbox series

[pushed] testsuite: Move auto-96647.C to c++1y/.

Message ID 20200909175306.3945777-1-polacek@redhat.com
State New
Headers show
Series [pushed] testsuite: Move auto-96647.C to c++1y/. | expand

Commit Message

Marek Polacek Sept. 9, 2020, 5:53 p.m. UTC
This test uses a C++14 feature so fails with -std=c++11.  Therefore
I've moved it to cpp1y/ and used target c++14.

gcc/testsuite/ChangeLog:

	* g++.dg/cpp0x/auto-96647.C: Moved to...
	* g++.dg/cpp1y/auto-96647.C: ...here.  Use target c++14.
---
 gcc/testsuite/g++.dg/{cpp0x => cpp1y}/auto-96647.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename gcc/testsuite/g++.dg/{cpp0x => cpp1y}/auto-96647.C (78%)


base-commit: bf69edf8ce47ca618eff30df2308279a40b22096
diff mbox series

Patch

diff --git a/gcc/testsuite/g++.dg/cpp0x/auto-96647.C b/gcc/testsuite/g++.dg/cpp1y/auto-96647.C
similarity index 78%
rename from gcc/testsuite/g++.dg/cpp0x/auto-96647.C
rename to gcc/testsuite/g++.dg/cpp1y/auto-96647.C
index 314b2a16ac2..8cbe155415c 100644
--- a/gcc/testsuite/g++.dg/cpp0x/auto-96647.C
+++ b/gcc/testsuite/g++.dg/cpp1y/auto-96647.C
@@ -1,5 +1,5 @@ 
 // PR c++/96647
-// { dg-do compile { target c++11 } }
+// { dg-do compile { target c++14 } }
 
 template<typename>
 struct Base {