You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
276 B
22 lines
276 B
4 months ago
|
%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
|
||
|
}
|