OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / nullptr03.C
1 // { dg-do compile }
2 // { dg-options "-std=c++0x" }
3
4 // Test assignment to int
5
6 const int n = nullptr;     // { dg-error "cannot convert " }