// PR c++/99274 // { dg-additional-options "-fmodule-header" } // { dg-module-cmi {} } void f(int a, int b = 123); template void g(T a, T b = {}); template struct A; template struct B; struct S { template void x(); void y(int n = 123); }; struct nontrivial { nontrivial(int); }; void h(nontrivial p = nontrivial(123));