| 1 |
// { dg-additional-options "-fmodules-ts" } |
| 2 |
|
| 3 |
export module foo; |
| 4 |
// { dg-module-cmi foo } |
| 5 |
|
| 6 |
template<typename _Tp, _Tp __v> |
| 7 |
struct integral_constant; |
| 8 |
|
| 9 |
template<typename _From, typename _To, bool> |
| 10 |
struct __is_nt_convertible_helper; |
| 11 |
|
| 12 |
template<typename _From, typename _To> |
| 13 |
class __is_nt_convertible_helper<_From, _To, false> |
| 14 |
{ |
| 15 |
template<typename _To1> |
| 16 |
static void __test_aux(_To1) noexcept; |
| 17 |
|
| 18 |
template<typename _From1, typename _To1> |
| 19 |
static |
| 20 |
integral_constant<bool, noexcept(__test_aux<_To1> (_From1 ()))> |
| 21 |
__test(int); |
| 22 |
}; |