1 // { dg-do compile { target c++11 } }
4 // Test overload of pointer versus nullptr_t when applied on a literal 0/__null
6 typedef decltype(nullptr) nullptr_t;
8 char* k( char* ); /* { dg-message "note" } */
9 nullptr_t k( nullptr_t ); /* { dg-message "note" } */
13 k(0); /* { dg-error "is ambiguous" } */
14 k(__null); /* { dg-error "is ambiguous" } */