From 61371884fb62e071179cb96ed04177115f173f23 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 3 Dec 2020 17:56:45 -0500 Subject: [PATCH] c++: XFAIL testcase for PR98019 Apparently it isn't actually fixed on trunk yet, was just passing because of some WIP in my tree. So XFAIL for now. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/concepts-nodiscard1.C: XFAIL. --- gcc/testsuite/g++.dg/cpp2a/concepts-nodiscard1.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/cpp2a/concepts-nodiscard1.C b/gcc/testsuite/g++.dg/cpp2a/concepts-nodiscard1.C index 28ce29b8bb0..907e68b1fc2 100644 --- a/gcc/testsuite/g++.dg/cpp2a/concepts-nodiscard1.C +++ b/gcc/testsuite/g++.dg/cpp2a/concepts-nodiscard1.C @@ -1,5 +1,6 @@ // PR c++/98019 // { dg-do compile { target c++20 } } +// { dg-excess-errors *-*-* } template concept same_as = __is_same_as (T, U); -- 2.30.2