// PR c++/114630 // { dg-additional-options "-fmodules-ts -std=c++20 -Wno-global-module -fdump-lang-module" } // { dg-module-cmi M } module; template struct S {}; template struct S {}; template requires (sizeof(T) == 4) struct S {}; template int V = 0; template int V = 1; template requires (sizeof(T) == 4) int V = 2; export module M; // The whole GMF should be discarded here // { dg-final { scan-lang-dump "Wrote 0 clusters" module } }