summaryrefslogtreecommitdiff
path: root/test/Assembler/2005-01-31-CallingAggregateFunction.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-23 05:29:14 +0000
committerChris Lattner <sabre@nondot.org>2008-04-23 05:29:14 +0000
commit7e4687a9f2dac199d0ae89e8e0101dd273811fde (patch)
treec1d793fc086fd12c712a537e5668c2c2798642a2 /test/Assembler/2005-01-31-CallingAggregateFunction.ll
parentf4cde4ec8197819bf872e551455c8a2e4c4864ab (diff)
downloadllvm-7e4687a9f2dac199d0ae89e8e0101dd273811fde.tar.gz
llvm-7e4687a9f2dac199d0ae89e8e0101dd273811fde.tar.bz2
llvm-7e4687a9f2dac199d0ae89e8e0101dd273811fde.tar.xz
returning an empty multiple return list is not valid.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2005-01-31-CallingAggregateFunction.ll')
-rw-r--r--test/Assembler/2005-01-31-CallingAggregateFunction.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Assembler/2005-01-31-CallingAggregateFunction.ll b/test/Assembler/2005-01-31-CallingAggregateFunction.ll
index e6baf34a6c..9bd6e31e39 100644
--- a/test/Assembler/2005-01-31-CallingAggregateFunction.ll
+++ b/test/Assembler/2005-01-31-CallingAggregateFunction.ll
@@ -1,8 +1,8 @@
; RUN: llvm-as < %s -o /dev/null -f
define void @test() {
- call {} @foo()
+ call {i32} @foo()
ret void
}
-declare {} @foo()
+declare {i32 } @foo()