]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: tweak testcase for --stds=impcx
authorJason Merrill <jason@redhat.com>
Mon, 12 Jan 2026 09:36:23 +0000 (17:36 +0800)
committerJason Merrill <jason@redhat.com>
Mon, 12 Jan 2026 16:19:19 +0000 (00:19 +0800)
commitf36534fe5f0290f47fae4d117ae2b85b17cc80b9
tree904a396888ae16308712cf3dab8ca04b258aed20
parent3d84356bcbeefabf45420fe1299e29a079a96adb
c++: tweak testcase for --stds=impcx

Implicit constexpr makes the use of x disappear, avoiding the exposure and
thus the diagnostic.

gcc/testsuite/ChangeLog:

* g++.dg/modules/internal-17_b.C: Add -fno-implicit-constexpr.
gcc/testsuite/g++.dg/modules/internal-17_b.C