CMake/Source/Checks/cm_cxx_nullptr.cxx
2016-06-27 23:24:39 +02:00

15 lines
103 B
C++

int test(int)
{
return -1;
}
int test(int*)
{
return 0;
}
int main()
{
return test(nullptr);
}