mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-21 19:35:36 -05:00
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.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// PR c++/121576
|
||||
// { dg-additional-options "-fmodules -Wno-error=expose-global-module-tu-local -Wtemplate-names-tu-local -Wno-global-module" }
|
||||
// { dg-additional-options "-fmodules -Wno-error=expose-global-module-tu-local -Wtemplate-names-tu-local -Wno-global-module -fno-implicit-constexpr" }
|
||||
// { dg-module-cmi !X }
|
||||
|
||||
module;
|
||||
|
||||
Reference in New Issue
Block a user