1 // { dg-do compile }
2 // { dg-options "-std=c++0x" }
3 
4 // Test assignment to int
5 
6 const int n1 = nullptr;     // { dg-error "cannot convert " }
7 decltype(nullptr) mynull = 0;
8 const int n2 = mynull;      // { dg-error "cannot convert " }
9 
10