1 // { dg-do compile }
2 // { dg-options "-std=c++0x" }
3 
4 // Test assignment to pointer
5 
6 char* const cp1 = nullptr;
7 char* const cp2 = __null;
8 char* const cp3 = 0;
9 decltype(nullptr) mynull = 0;
10 char* const cp4 = mynull;
11