returning an empty multiple return list is not valid.
authorChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2008 05:29:14 +0000 (05:29 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Apr 2008 05:29:14 +0000 (05:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50135 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2005-01-31-CallingAggregateFunction.ll

index e6baf34a6c74b8f95eb0e4a854020fdacea341f6..9bd6e31e39d32b850229301c1b4116d54926e1e4 100644 (file)
@@ -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()