summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-15 21:43:17 +0000
committerChris Lattner <sabre@nondot.org>2001-07-15 21:43:17 +0000
commit21341d3108bfd5e79cb508a617cc6f1ef0bc720c (patch)
tree8ab6431ca52f3db95bc0b08264da6b215aa6911b /test
parent416ae8da19ec1c106340fb1510b1f478e1232be6 (diff)
downloadllvm-21341d3108bfd5e79cb508a617cc6f1ef0bc720c.tar.gz
llvm-21341d3108bfd5e79cb508a617cc6f1ef0bc720c.tar.bz2
llvm-21341d3108bfd5e79cb508a617cc6f1ef0bc720c.tar.xz
New test case for prototype support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Feature/prototype.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Feature/prototype.ll b/test/Feature/prototype.ll
new file mode 100644
index 0000000000..cea4f32b2b
--- /dev/null
+++ b/test/Feature/prototype.ll
@@ -0,0 +1,10 @@
+implementation
+
+declare int "bar"(int %in)
+
+int "foo"(int %blah)
+begin
+ %xx = call int(int) %bar(int %blah)
+ ret int %xx
+end
+