Files
clang-p2996/llvm/test/Linker/Inputs/opaque.ll
2022-12-13 16:43:43 +01:00

22 lines
276 B
LLVM

%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
}