summaryrefslogtreecommitdiff
path: root/unittests/VMCore/VerifierTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/VMCore/VerifierTest.cpp')
-rw-r--r--unittests/VMCore/VerifierTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/VMCore/VerifierTest.cpp b/unittests/VMCore/VerifierTest.cpp
index 1924661200..324b4e193b 100644
--- a/unittests/VMCore/VerifierTest.cpp
+++ b/unittests/VMCore/VerifierTest.cpp
@@ -47,7 +47,7 @@ TEST(VerifierTest, Branch_i1) {
TEST(VerifierTest, AliasUnnamedAddr) {
LLVMContext &C = getGlobalContext();
Module M("M", C);
- const Type *Ty = Type::getInt8Ty(C);
+ Type *Ty = Type::getInt8Ty(C);
Constant *Init = Constant::getNullValue(Ty);
GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true,
GlobalValue::ExternalLinkage,