// { dg-do compile } // { dg-options "-std=c++0x" } // Test overload of pointer versus bool when applied on a nullptr_t template struct tType_equal; template struct tType_equal { typedef void type; }; template inline typename tType_equal::type type_equal(U) { } char* j( char* ); bool j( bool ); void test_j() { type_equal(j(nullptr)); }