summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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
+