Add support for C++0x nullptr.
[official-gcc/constexpr.git] / gcc / testsuite / g++.dg / cpp0x / nullptr03.C
blob1c9e521bd889e4015bfdddc73c71785e8affc079
1 // { dg-do compile }
2 // { dg-options "-std=c++0x" }
4 // Test assignment to int
6 const int n = nullptr;     // { dg-error "cannot convert " }