[C++11] Use 'nullptr'.
[oota-llvm.git] / unittests / ExecutionEngine / MCJIT / MCJITTest.cpp
index a439508af0c6af6f002692d24936c40dfcc5cdcb..c37c1d1d599d4e6f54cfdf9488312309c2dbf9a7 100644 (file)
@@ -51,7 +51,7 @@ TEST_F(MCJITTest, global_variable) {
   GlobalValue *Global = insertGlobalInt32(M.get(), "test_global", initialValue);
   createJIT(M.release());
   void *globalPtr =  TheJIT->getPointerToGlobal(Global);
-  EXPECT_TRUE(0 != globalPtr)
+  EXPECT_TRUE(nullptr != globalPtr)
     << "Unable to get pointer to global value from JIT";
 
   EXPECT_EQ(initialValue, *(int32_t*)globalPtr)