1 // { dg-additional-options "-fmodules-ts -Wno-pedantic" } 2 3 module; 4 5 # 6 "std" 1 6 template<typename T> 7 class basic_string_view 8 { 9 public: 10 basic_string_view(const char* __str) noexcept; 11 }; 12 13 # 14 "" 2 14 export module hello; 15 // { dg-module-cmi hello } greeter(basic_string_view<char> const & name)16export void greeter (basic_string_view<char> const &name) 17 { 18 19 } 20