mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
1d4a6cc6f5
We already linked available_externally and linkonce lazily, this just adds declarations to the list. llvm-svn: 254917
22 lines
276 B
LLVM
22 lines
276 B
LLVM
%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
|
|
}
|