gcc/testsuite/g++.dg/modules/friend-6_a.C
raw| 1 | // { dg-additional-options "-fmodules-ts -Wno-global-module" } |
| 2 | // { dg-module-cmi friend_6 } |
| 3 | |
| 4 | module; |
| 5 | template <typename> struct Trans_NS___cxx11_basic_string { |
| 6 | template <typename> friend class basic_stringbuf; |
| 7 | }; |
| 8 | template struct Trans_NS___cxx11_basic_string<char>; |
| 9 | export module friend_6; |