llvm-6502/test/Assembler/aggregate-return-single-value.ll
Jay Foad 3e2f74e6d6 Remove some support for ReturnInsts with multiple operands, and for
returning a scalar value in a function whose return type is a single-
element structure or array.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128810 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-04 07:44:02 +00:00

9 lines
152 B
LLVM

; RUN: llvm-as < %s | llvm-dis
define { i32 } @foob() nounwind {
ret {i32}{ i32 0 }
}
define [1 x i32] @food() nounwind {
ret [1 x i32][ i32 0 ]
}