summaryrefslogtreecommitdiff
path: root/test/Linker/testlink2.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-14 23:28:56 +0000
committerChris Lattner <sabre@nondot.org>2001-10-14 23:28:56 +0000
commit784c52f6148c87088e0542b29a2b6c933b68b00e (patch)
treed385f21d8df2444b8776587718b3fcf25cdbf407 /test/Linker/testlink2.ll
parentc025fc10836da6af7e456a77f32d57c7d636da79 (diff)
downloadllvm-784c52f6148c87088e0542b29a2b6c933b68b00e.tar.gz
llvm-784c52f6148c87088e0542b29a2b6c933b68b00e.tar.bz2
llvm-784c52f6148c87088e0542b29a2b6c933b68b00e.tar.xz
More interesting testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r--test/Linker/testlink2.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index 445749a347..df8d85b381 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -4,12 +4,19 @@
%AConst = constant int 123
+constant int 412
+
implementation
int "foo"(int %blah)
begin
store int %blah, int *%MyVar
store int 12, { \2 *, int } * %MyIntList, ubyte 1
+
+ ;%ack = load int * %0 ;; Load from the unnamed constant
+ ;%fzo = add int %ack, %blah
+ ;ret int %fzo
ret int %blah
end
+declare void "unimp"(float, double)