mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 20:30:06 +00:00
3e2f74e6d6
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 ]
|
|
}
|