aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-05 23:57:06 +0000
committerDan Gohman <gohman@apple.com>2008-06-05 23:57:06 +0000
commit836bfcd6896526a21ad1c800b1ca5ae90de1df0a (patch)
treef620cd86832fe709a95a0e45eb09aa44a089573f /test
parent5c490610a166a31b4a34c9fcaebbf744fd524049 (diff)
Revert 52002.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Assembler/AggregrateReturn.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/Assembler/AggregrateReturn.ll b/test/Assembler/AggregrateReturn.ll
deleted file mode 100644
index 264b34323e..0000000000
--- a/test/Assembler/AggregrateReturn.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis
-
-define { i32, i32 } @foo() {
- %res = insertvalue { i32, i32 } undef, i32 0, 0
- %res2 = insertvalue { i32, i32 } %res, i32 1, 1
- ret { i32, i32 } %res2
-}
-
-define [ 2 x i32 ] @bar() {
- %res = insertvalue [ 2 x i32 ] undef, i32 0, 0
- %res2 = insertvalue [ 2 x i32 ] %res, i32 1, 1
- ret [ 2 x i32 ] %res2
-}
-
-define i32 @main() {
- %a = call { i32, i32 }()* @foo ()
- %b = call [ 2 x i32 ]()* @bar ()
- %a.0 = extractvalue { i32, i32 } %a, 0
- %b.1 = extractvalue [ 2 x i32 ] %b, 1
- %r = add i32 %a.0, %b.1
- ret i32 %r
-}