blob: abab9dc57029faaadcf0e71728fdb641510c0a7c [file] [log] [blame]
; RUN: opt < %s -instcombine -disable-output
%opaque_struct = type opaque
@G = external global [0 x %opaque_struct]
declare void @foo(%opaque_struct*)
define void @bar() {
call void @foo(%opaque_struct* bitcast ([0 x %opaque_struct]* @G to %opaque_struct*))
ret void
}