projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4897e
)
New test for varargs functions
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jul 2001 22:49:12 +0000
(22:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jul 2001 22:49:12 +0000
(22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/testvarargs.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/Feature/testvarargs.ll
b/test/Feature/testvarargs.ll
new file mode 100644
(file)
index 0000000..
79c9000
--- /dev/null
+++ b/
test/Feature/testvarargs.ll
@@ -0,0
+1,12
@@
+implementation
+
+declare int "printf"(sbyte*, ...) ;; Prototype for: int __builtin_printf(const char*, ...)
+
+int "testvarar"()
+begin
+ cast int 0 to sbyte*
+ call int(sbyte*, ...) %printf(sbyte * %0, int 12, sbyte 42);
+ ret int %0
+end
+
+