Debian Codegraph @

gcc/testsuite/g++.dg/modules/dguide-4_a.C

raw
1 // PR c++/116403
2 // { dg-additional-options "-fmodules-ts -Wno-global-module" }
3 // { dg-module-cmi A }
4
5 module;
6
7 template <typename T> struct GMF {
8 GMF(int);
9 };
10 GMF(int) -> GMF<int>;
11
12 export module A;
13 export using ::GMF;
14
15 export template <typename T> struct Attached {
16 Attached(int);
17 };
18 Attached(int) -> Attached<int>;