diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-22 19:43:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-22 19:43:28 +0000 |
commit | b5630dbadf9a2a06754194387d6b0fd9962a67f1 (patch) | |
tree | 3fe1e2bc0dc2823ab21f06959fbb3eaca317ea29 /unittests/IR/DominatorTreeTest.cpp | |
parent | 7af96fb3afd6725a2824a0a5ca5dad34e5e0b056 (diff) |
Diffstat (limited to 'unittests/IR/DominatorTreeTest.cpp')
-rw-r--r-- | unittests/IR/DominatorTreeTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/IR/DominatorTreeTest.cpp b/unittests/IR/DominatorTreeTest.cpp index ae9c2684212b..498e111a31f6 100644 --- a/unittests/IR/DominatorTreeTest.cpp +++ b/unittests/IR/DominatorTreeTest.cpp @@ -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) { |