gcc/testsuite/g++.dg/modules/pr118920_b.H
raw| 1 | // { dg-additional-options "-fmodule-header" } |
| 2 | // { dg-module-cmi {} } |
| 3 | |
| 4 | template <typename T> struct __shared_ptr { |
| 5 | template <typename> friend struct out_ptr_t; |
| 6 | }; |
| 7 | inline namespace __cxx11 __attribute__((__abi_tag__)) { |
| 8 | struct _Impl; |
| 9 | } |
| 10 | struct path { |
| 11 | __shared_ptr<_Impl> _M_impl; |
| 12 | }; |