From 51177d3d648e871c936787f073b72389a4683ca3 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 15 Jan 2019 18:35:01 +0000 Subject: [PATCH] re PR c++/88866 (g++.dg/cpp0x/variadic126.C fails with -std=c++2a) PR c++/88866 * g++.dg/cpp0x/variadic126.C: Tweak dg-error. From-SVN: r267944 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/variadic126.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e4fbb15dfef..141cf602abb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-01-15 Marek Polacek + + PR c++/88866 + * g++.dg/cpp0x/variadic126.C: Tweak dg-error. + 2019-01-15 Richard Sandiford PR inline-asm/52813 diff --git a/gcc/testsuite/g++.dg/cpp0x/variadic126.C b/gcc/testsuite/g++.dg/cpp0x/variadic126.C index 513c7e54a07..a219309f058 100644 --- a/gcc/testsuite/g++.dg/cpp0x/variadic126.C +++ b/gcc/testsuite/g++.dg/cpp0x/variadic126.C @@ -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 } } -- 2.30.2