1 // { dg-do compile { target c++11 } }
3 // Test overload of pointer versus bool when applied on a nullptr_t
5 template <typename T, typename U> struct tType_equal;
6 template <typename T> struct tType_equal<T, T> { typedef void type; };
8 template <typename T, typename U>
9 inline typename tType_equal<T, U>::type
17 type_equal<char*>(j(nullptr));
18 decltype(nullptr) mynull = 0;
19 type_equal<char*>(j(mynull));