aboutsummaryrefslogtreecommitdiff
path: root/unittests/Support/ProcessTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Support/ProcessTest.cpp')
-rw-r--r--unittests/Support/ProcessTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Support/ProcessTest.cpp b/unittests/Support/ProcessTest.cpp
index d4c4b54ccc..58a7c4acaa 100644
--- a/unittests/Support/ProcessTest.cpp
+++ b/unittests/Support/ProcessTest.cpp
@@ -28,6 +28,8 @@ TEST(ProcessTest, SelfProcess) {
#elif defined(LLVM_ON_WIN32)
EXPECT_EQ(GetCurrentProcess(), process::get_self()->get_id());
#endif
+
+ EXPECT_LT(1u, process::get_self()->page_size());
}
} // end anonymous namespace