gcc/testsuite/g++.dg/modules/merge-11.h
raw| 1 | |
| 2 | |
| 3 | |
| 4 | template<typename _From, bool> |
| 5 | struct __is_nt_convertible_helper; |
| 6 | |
| 7 | template<typename _From> |
| 8 | class __is_nt_convertible_helper<_From, false> |
| 9 | { |
| 10 | template<typename> static int __test (int); |
| 11 | template<typename> static void __test(...); |
| 12 | |
| 13 | public: |
| 14 | using type = decltype(__test<_From>(0)); |
| 15 | }; |