1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-21 12:10:05 +08:00
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);
}