Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
InstCombine
/
2012-01-11-OpaqueBitcastCrash.ll
blob: 0aee53b80eb6400cba077d767613fb1df954eb51 [
file
] [
log
] [
blame
]
; 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
}