mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +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 ]
|
|
}
|