1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/Assembler/aggregate-return-single-value.ll
Jay Foad fc232f270b 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.

llvm-svn: 128810
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 ]
}