Index: test/cctest/test-platform-win32.cc |
diff --git a/test/cctest/test-platform-win32.cc b/test/cctest/test-platform-win32.cc |
index 36b30aaceb608c60c19290cc2d52faa2714a2dc1..1513a5af79ffae3d00b2e796c1c9a22f71a10afa 100644 |
--- a/test/cctest/test-platform-win32.cc |
+++ b/test/cctest/test-platform-win32.cc |
@@ -25,3 +25,9 @@ TEST(VirtualMemory) { |
CHECK(vm->Uncommit(block_addr, block_size)); |
delete vm; |
} |
+ |
+TEST(GetCurrentProcessId) { |
+ OS::SetUp(); |
+ CHECK_EQ(static_cast<int>(::GetCurrentProcessId()), |
+ OS::GetCurrentProcessId()); |
+} |