mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 13:33:26 +00:00

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
9 lines
152 B
LLVM
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 ]
|
|
}
|