This test is buggy: printf is a varargs function. This fixes the test with
the PPC JIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28375 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll
index eaeb238..92aa5f1 100644
--- a/test/ExecutionEngine/hello2.ll
+++ b/test/ExecutionEngine/hello2.ll
@@ -8,10 +8,10 @@
implementation
-declare void %printf([13 x sbyte]*)
+declare void %printf([13 x sbyte]*,...)
void %bar() {
- call void %printf([13 x sbyte]* %msg)
+ call void([13 x sbyte]*,...)* %printf([13 x sbyte]* %msg)
ret void
}