Debian Codegraph @

gcc/testsuite/g++.dg/modules/hello-2_a.C

raw
1 // PR c++/105512
2 // { dg-additional-options -fmodules-ts }
3 // { dg-module-cmi Hello2 }
4 // { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
5
6 module;
7 #include <string>
8 export module Hello2;
9
10 export std::string tester() {
11 return "hello world\n";
12 }