* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr02.C
blob50b3d0741b95f5137b957125d93e6dce1458245c
1 // { dg-do compile { target c++11 } }
3 // Test assignment to nullptr_t
5 typedef decltype(nullptr) nullptr_t;
7 const nullptr_t np1 = nullptr;
8 const nullptr_t np2 = __null;
9 const nullptr_t np3 = 0;
10 const nullptr_t np4 = np1;
11 const nullptr_t np5 = np2;
12 const nullptr_t np6 = np3;
13 const nullptr_t np7 = np4;
14 const nullptr_t np8 = np5;
15 const nullptr_t np9 = np6;