This test is buggy: printf is a varargs function. This fixes the test with
[oota-llvm.git] / 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 
 }