mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
fc232f270b
returning a scalar value in a function whose return type is a single- element structure or array. llvm-svn: 128810
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 ]
|
|
}
|