view test/CodeGen/Generic/2010-ZeroSizedArg.ll @ 0:95c75e76d11b

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children
line wrap: on
line source

; RUN: llc < %s
; PR4975

%0 = type <{ [0 x i32] }>
%union.T0 = type { }

@.str = private constant [1 x i8] c" "

define 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 i32 @printf(i8*, ...)