This test is buggy: printf is a varargs function. This fixes the test with
authorChris Lattner <sabre@nondot.org>
Wed, 17 May 2006 23:43:56 +0000 (23:43 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 17 May 2006 23:43:56 +0000 (23:43 +0000)
the PPC JIT

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28375 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/hello2.ll

index eaeb238ac05cb9243fbd6afaee266867cb74163e..92aa5f1918411f06326a29220cb6bdd4286dc9e4 100644 (file)
@@ -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 
 }