Debian Codegraph @

gcc/testsuite/g++.dg/modules/std-subst-4_c.C

raw
1 // { dg-additional-options "-fmodules-ts -Wno-pedantic" }
2 module;
3 # 5 __FILE__ 1
4 namespace std {
5 template <typename A> struct char_traits {};
6 } // namespace std
7 # 9 "" 2
8 export module Bar;
9 // { dg-module-cmi Bar }
10 import RenameString;
11
12 // Use Ss as this is global-module std::char_traits
13 void g(str<char, std::char_traits<char>> &s) {
14 }
15
16 // { dg-final { scan-assembler {_ZW3Bar1gRSs:} } }