* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr19.C
blob17c4b7caa3bb63838d11f7a731f421da93949d1d
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" } */
11 void test_k()
13   k(0); /* { dg-error "is ambiguous" } */
14   k(__null); /* { dg-error "is ambiguous" } */