| 1 |
// PR 99496 different types with same canonical |
| 2 |
// (requires spec hasher to be a constant, so we get collisions) |
| 3 |
// { dg-additional-options -fmodule-header } |
| 4 |
// { dg-module-cmi {} } |
| 5 |
|
| 6 |
template<typename...> using __void_t = void; |
| 7 |
|
| 8 |
template<typename _Tp, typename = void> |
| 9 |
struct __is_referenceable |
| 10 |
{ }; |
| 11 |
|
| 12 |
template<typename _Tp> |
| 13 |
struct __is_referenceable<_Tp, __void_t<_Tp&>> |
| 14 |
{ }; |
| 15 |
|
| 16 |
template<typename _Tp, bool = __is_referenceable<_Tp>::value> |
| 17 |
struct __is_copy_constructible_impl; |