diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-13 07:15:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-13 07:15:38 +0000 |
commit | 285c68d66d437043bbcceecdd751c2fa472f0116 (patch) | |
tree | 3aafbd4c769354ae08656494cebe20ab2869dc38 /test/Linker/testlink2.ll | |
parent | b27c9e72d1112bbf266197042a02ccb011f7cf7e (diff) |
Test files for linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r-- | test/Linker/testlink2.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll new file mode 100644 index 0000000000..445749a347 --- /dev/null +++ b/test/Linker/testlink2.ll @@ -0,0 +1,15 @@ + +%MyVar = global int 4 +%MyIntList = uninitialized global { \2 *, int } + +%AConst = constant int 123 + +implementation + +int "foo"(int %blah) +begin + store int %blah, int *%MyVar + store int 12, { \2 *, int } * %MyIntList, ubyte 1 + ret int %blah +end + |