From 1028bbd59a2cb4b9564e0b12f55b22eda57d7d06 Mon Sep 17 00:00:00 2001 From: Xin Tong Date: Sat, 20 May 2017 19:40:24 +0000 Subject: [PATCH] Fix test typo. NFC llvm-svn: 303489 --- llvm/unittests/IR/DominatorTreeTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/unittests/IR/DominatorTreeTest.cpp b/llvm/unittests/IR/DominatorTreeTest.cpp index ae9c268..498e111 100644 --- a/llvm/unittests/IR/DominatorTreeTest.cpp +++ b/llvm/unittests/IR/DominatorTreeTest.cpp @@ -226,7 +226,7 @@ namespace llvm { char DPass::ID = 0; std::unique_ptr makeLLVMModule(LLVMContext &Context, DPass *P) { - const char *ModuleStrig = + const char *ModuleString = "declare i32 @g()\n" \ "define void @f(i32 %x) personality i32 ()* @g {\n" \ "bb0:\n" \ @@ -250,7 +250,7 @@ namespace llvm { " ret void\n" \ "}\n"; SMDiagnostic Err; - return parseAssemblyString(ModuleStrig, Err, Context); + return parseAssemblyString(ModuleString, Err, Context); } TEST(DominatorTree, Unreachable) { -- 2.7.4