bolt/deps/llvm-18.1.8/llvm/test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll

13 lines
209 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: opt < %s -passes=instcombine -disable-output
%opaque_struct = type opaque
@G = external global [0 x %opaque_struct]
declare void @foo(ptr)
define void @bar() {
call void @foo(ptr @G)
ret void
}