gcc/testsuite/g++.dg/modules/pr104234.C
raw| 1 | // PR c++/104234 |
| 2 | // { dg-additional-options "-fmodules-ts" } |
| 3 | |
| 4 | template <typename> struct _Node_handle_common { |
| 5 | template <typename> friend class _Rb_tree; |
| 6 | }; |
| 7 | struct _Hashtable { |
| 8 | using node_type = _Node_handle_common<int>; |
| 9 | node_type __trans_tmp_1; |
| 10 | }; |
| 11 | template <typename> class _Rb_tree { |
| 12 | struct _Rb_tree_impl { |
| 13 | _Rb_tree_impl(); |
| 14 | } _M_impl; |
| 15 | }; |
| 16 | _Rb_tree<int> _M_tmap_; |