OSDN Git Service

PR debug/43942
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / nullptr12.C
1 // { dg-do compile }
2 // { dg-options "-std=c++0x" }
3
4 // Test sizeof
5
6 static_assert(sizeof(nullptr) == sizeof(void*), "sizeof(nullptr) is wrong");