Debian Codegraph @

gcc/testsuite/g++.dg/modules/default-arg-2_a.H

raw
1 // PR c++/99274
2 // { dg-additional-options "-fmodule-header" }
3 // { dg-module-cmi {} }
4
5 void f(int a, int b = 123);
6 template <typename T> void g(T a, T b = 123);
7
8 template <typename U = int> struct A;
9 template <int N = 123> struct B;
10
11 struct S {
12 template <typename T = int> void x();
13 void y(int n = 123);
14 };
15
16 struct nontrivial { nontrivial(int); };
17 void h(nontrivial p = nontrivial(123));