summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-17 23:43:56 +0000
committerChris Lattner <sabre@nondot.org>2006-05-17 23:43:56 +0000
commitf0dee9b36a4a9a9bd14566f8ddae27be40facbe7 (patch)
tree17be823341783e6ebe30aae9903b855628c3ccc6 /test
parentdd1aac36a190c977cfd5433816fb78ed36c7101c (diff)
downloadllvm-f0dee9b36a4a9a9bd14566f8ddae27be40facbe7.tar.gz
llvm-f0dee9b36a4a9a9bd14566f8ddae27be40facbe7.tar.bz2
llvm-f0dee9b36a4a9a9bd14566f8ddae27be40facbe7.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/ExecutionEngine/hello2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll
index eaeb238ac0..92aa5f1918 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
}