Debian Codegraph @

gcc/testsuite/g++.dg/modules/hdr-1_b.H

raw
1 // { dg-additional-options {-fmodule-header -fdump-lang-module-blocks} }
2
3 // { dg-module-cmi {} }
4
5 import "hdr-1_a.H";
6
7 class frob
8 {
9 public:
10 int field;
11 };
12
13 template<int J>
14 class FROB
15 {
16 public:
17 static constexpr int val = J;
18 };
19
20 // { dg-final { scan-lang-dump {Cluster members:\n \[0\]=decl definition '::frob'} module } }
21 // { dg-final { scan-lang-dump {Cluster members:\n \[0\]=decl definition '::template FROB'} module } }