Debian Codegraph @

gcc/testsuite/g++.dg/modules/clone-1_a.C

raw
1 // { dg-additional-options -fmodules-ts }
2
3 export module foo;
4 // { dg-module-cmi foo }
5
6 template<typename _CharT >
7 struct basic_string
8 {
9 template<typename = unsigned> basic_string();
10 };
11
12 inline basic_string<char>
13 to_string ()
14 {
15 basic_string<char> __str;
16
17 return __str;
18 }