gcc/testsuite/g++.dg/modules/tpl-tpl-parm-1_b.C
raw| 1 | // { dg-additional-options -fmodules-ts } |
| 2 | |
| 3 | import "tpl-tpl-parm-1_a.H"; |
| 4 | |
| 5 | template<> struct __xref<int> |
| 6 | { |
| 7 | template <typename T> struct __type; |
| 8 | }; |
| 9 | |
| 10 | template<> struct basic_common_reference<__xref<int>::__type> |
| 11 | { |
| 12 | typedef int type; |
| 13 | }; |
| 14 | |
| 15 | __basic_common_ref<int> main () |
| 16 | { |
| 17 | return 0; |
| 18 | } |