summaryrefslogtreecommitdiffstats
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
commit197ac9c525431c9fadd681d274d817b258afed4f (patch)
tree16a5ef1c5b0db9705086d159e20da0b99a7fe8b4
parente6c611b99035fda145c52ed05c8c706899c0225e (diff)
downloadbcm5719-llvm-197ac9c525431c9fadd681d274d817b258afed4f.tar.gz
bcm5719-llvm-197ac9c525431c9fadd681d274d817b258afed4f.zip
More interesting testcase
llvm-svn: 809
-rw-r--r--llvm/test/Regression/Linker/testlink2.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/testlink2.ll b/llvm/test/Regression/Linker/testlink2.ll
index 445749a347e..df8d85b3812 100644
--- a/llvm/test/Regression/Linker/testlink2.ll
+++ b/llvm/test/Regression/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)
OpenPOWER on IntegriCloud