bolt/deps/llvm-18.1.8/llvm/test/Linker/Inputs/opaque.ll

22 lines
276 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
%A = type { }
%B = type { %D, %E, ptr }
%D = type { %E }
%E = type opaque
@g2 = external global %A
@g3 = external global %B
define void @f1() {
getelementptr %A, ptr null, i32 0
ret void
}
define ptr @use_g2() {
ret ptr @g2
}
define ptr @use_g3() {
ret ptr @g3
}