reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
%A = type { }
%B = type { %D, %E, %B* }

%D = type { %E }
%E = type opaque

@g2 = external global %A
@g3 = external global %B

define void @f1()  {
  getelementptr %A, %A* null, i32 0
  ret void
}

define %A* @use_g2() {
 ret %A* @g2
}

define %B* @use_g3() {
  ret %B* @g3
}