Add support for C++0x nullptr.
[official-gcc/constexpr.git] / gcc / testsuite / g++.dg / cpp0x / nullptr01.C
blob8de877bab50f8e8763d40c9d9f1439a21bb388cf
1 // { dg-do compile }
2 // { dg-options "-std=c++0x" }
4 // Test assignment to pointer
6 char* const cp1 = nullptr;
7 char* const cp2 = __null;
8 char* const cp3 = 0;