• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -instcombine -disable-output
2
3%opaque_struct = type opaque
4
5@G = external global [0 x %opaque_struct]
6
7declare void @foo(%opaque_struct*)
8
9define void @bar() {
10  call void @foo(%opaque_struct* bitcast ([0 x %opaque_struct]* @G to %opaque_struct*))
11  ret void
12}
13