1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/Generic/2010-ZeroSizedArg.ll
2010-03-29 21:27:30 +00:00

18 lines
314 B
LLVM

; RUN: llc < %s
; PR4975
%0 = type <{ [0 x i32] }>
%union.T0 = type { }
@.str = private constant [1 x i8] c" "
define arm_apcscc void @t(%0) nounwind {
entry:
%arg0 = alloca %union.T0
%1 = bitcast %union.T0* %arg0 to %0*
store %0 %0, %0* %1, align 1
ret void
}
declare arm_apcscc i32 @printf(i8*, ...)