repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Linker
/
Inputs
/
opaque.ll
blob
eade7e9f97ad46ab6ef6b42a68d100a29b6dddaf
1
%A = type { }
2
%B = type { %D, %E, ptr }
3
4
%D = type { %E }
5
%E = type opaque
6
7
@g2 = external global %A
8
@g3 = external global %B
9
10
define void @f1() {
11
getelementptr %A, ptr null, i32 0
12
ret void
13
}
14
15
define ptr @use_g2() {
16
ret ptr @g2
17
}
18
19
define ptr @use_g3() {
20
ret ptr @g3
21
}