Skip to content
Snippets Groups Projects
Commit 7d4e9913 authored by Jason Merrill's avatar Jason Merrill
Browse files

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.
parent ff04531b
No related branches found
No related tags found
No related merge requests found
// PR c++/111272 // PR c++/111272
// { dg-do compile { target c++14 } } // { 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" } // { dg-prune-output "some warnings being treated as errors" }
struct Jam struct Jam
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment