]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Move auto-96647.C to c++1y/.
authorMarek Polacek <polacek@redhat.com>
Wed, 9 Sep 2020 17:49:26 +0000 (13:49 -0400)
committerMarek Polacek <polacek@redhat.com>
Wed, 9 Sep 2020 17:51:18 +0000 (13:51 -0400)
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/cpp1y/auto-96647.C [moved from gcc/testsuite/g++.dg/cpp0x/auto-96647.C with 78% similarity]

similarity index 78%
rename from gcc/testsuite/g++.dg/cpp0x/auto-96647.C
rename to gcc/testsuite/g++.dg/cpp1y/auto-96647.C
index 314b2a16ac2803110eb74ca6a989323ed36b0a9f..8cbe155415cde28d0f28ef2d29efc58b57971c6d 100644 (file)
@@ -1,5 +1,5 @@
 // PR c++/96647
-// { dg-do compile { target c++11 } }
+// { dg-do compile { target c++14 } }
 
 template<typename>
 struct Base {