[llvm-branch-commits] [llvm-branch] r109332 - /llvm/branches/ggreif/waymark-64/unittests/VMCore/WaymarkTest.cpp
Gabor Greif
ggreif at gmail.com
Sat Jul 24 01:34:31 PDT 2010
Author: ggreif
Date: Sat Jul 24 03:34:31 2010
New Revision: 109332
URL: http://llvm.org/viewvc/llvm-project?rev=109332&view=rev
Log:
minor tweaks
Modified:
llvm/branches/ggreif/waymark-64/unittests/VMCore/WaymarkTest.cpp
Modified: llvm/branches/ggreif/waymark-64/unittests/VMCore/WaymarkTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/waymark-64/unittests/VMCore/WaymarkTest.cpp?rev=109332&r1=109331&r2=109332&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64/unittests/VMCore/WaymarkTest.cpp (original)
+++ llvm/branches/ggreif/waymark-64/unittests/VMCore/WaymarkTest.cpp Sat Jul 24 03:34:31 2010
@@ -22,8 +22,8 @@
TEST(WaymarkTest, NativeArray) {
static char tail[22] = "s02s33s30y2y0s1x0syxS";
- Constant *A = ConstantArray::get (getGlobalContext(), tail, false);
- /*ASSERT_NE*/EXPECT_NE(A, (Constant*)NULL);
+ const Constant *A = ConstantArray::get (getGlobalContext(), tail, false);
+ ASSERT_NE(A, (const Constant*)NULL);
EXPECT_EQ(21U, A->getNumOperands());
const Use *U = &A->getOperandUse(0);
const Use *Ue = &A->getOperandUse(20);
More information about the llvm-branch-commits
mailing list