More interesting testcase
authorChris Lattner <sabre@nondot.org>
Sun, 14 Oct 2001 23:28:56 +0000 (23:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Oct 2001 23:28:56 +0000 (23:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@809 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/testlink2.ll

index 445749a347e1ebd89bbd4dba5536ffbd3d365ffa..df8d85b38126773336bf7c9f3942cb411f9d97d7 100644 (file)
@@ -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)