public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4808] testsuite: constexpr-diag1.C and implicit constexpr
@ 2023-10-20 20:30 Jason Merrill
  0 siblings, 0 replies; only message in thread
From: Jason Merrill @ 2023-10-20 20:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7d4e99131606badcdc343cce62691245dac11bb4

commit r14-4808-g7d4e99131606badcdc343cce62691245dac11bb4
Author: Jason Merrill <jason@redhat.com>
Date:   Fri Oct 20 15:38:16 2023 -0400

    testsuite: constexpr-diag1.C and implicit constexpr
    
    This test doesn't break as expected with implicit constexpr.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/cpp1y/constexpr-diag1.C: Add -fno-implicit-constexpr.

Diff:
---
 gcc/testsuite/g++.dg/cpp1y/constexpr-diag1.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/cpp1y/constexpr-diag1.C b/gcc/testsuite/g++.dg/cpp1y/constexpr-diag1.C
index 0e2909e83ef6..e12633ca0852 100644
--- a/gcc/testsuite/g++.dg/cpp1y/constexpr-diag1.C
+++ b/gcc/testsuite/g++.dg/cpp1y/constexpr-diag1.C
@@ -1,6 +1,6 @@
 // PR c++/111272
 // { dg-do compile { target c++14 } }
-// { dg-options "-Werror=invalid-constexpr" }
+// { dg-options "-Werror=invalid-constexpr -fno-implicit-constexpr" }
 // { dg-prune-output "some warnings being treated as errors" }
 
 struct Jam

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-20 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20 20:30 [gcc r14-4808] testsuite: constexpr-diag1.C and implicit constexpr Jason Merrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).