re PR c++/88866 (g++.dg/cpp0x/variadic126.C fails with -std=c++2a)
authorMarek Polacek <polacek@redhat.com>
Tue, 15 Jan 2019 18:35:01 +0000 (18:35 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 15 Jan 2019 18:35:01 +0000 (18:35 +0000)
PR c++/88866
* g++.dg/cpp0x/variadic126.C: Tweak dg-error.

From-SVN: r267944

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic126.C

index e4fbb15dfeffb7485cc1c4596d1b76203f6427a5..141cf602abbfcb5969867ba961467148de0d0dea 100644 (file)
@@ -1,3 +1,8 @@
+2019-01-15  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/88866
+       * g++.dg/cpp0x/variadic126.C: Tweak dg-error.
+
 2019-01-15  Richard Sandiford  <richard.sandiford@arm.com>
 
        PR inline-asm/52813
index 513c7e54a072172b20e81bc38f14e9c61924e723..a219309f0587453dfb36625452fd1a5dc51b472c 100644 (file)
@@ -3,6 +3,6 @@
 
 template < typename ... > struct A;
 
-struct B : A <                 // { dg-error "invalid" }
+struct B : A <                 // { dg-error "invalid" "" { target c++17_down } }
 {
-};
+}; // { dg-error "mismatch|expected" "" { target c++2a } }