blob: 085d4c7f79297dd80474aa722eacd3ccb8b65a1f [file] [log] [blame]
// PR c++/99274
// { dg-additional-options "-fmodule-header" }
// { dg-module-cmi {} }
void f(int a, int b = 123);
template <typename T> void g(T a, T b = 123);
template <typename U = int> struct A;
template <int N = 123> struct B;
struct S {
template <typename T = int> void x();
void y(int n = 123);
};
struct nontrivial { nontrivial(int); };
void h(nontrivial p = nontrivial(123));