Fix test typo. NFC

llvm-svn: 303489
This commit is contained in:
Xin Tong 2017-05-20 19:40:24 +00:00
parent 31fd99cf65
commit 1028bbd59a
1 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ namespace llvm {
char DPass::ID = 0;
std::unique_ptr<Module> 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) {