llvm-project/llvm/test/tools/llvm-nm/opaque-pointers.ll
Nikita Popov b9648c70d1 [llvm-nm] Avoid -opaque-pointers option in test (NFC)
Commit the typed pointer bitcode file instead of producing it,
as this will not be possible in the future anymore.
2023-06-20 16:35:54 +02:00

13 lines
260 B
LLVM

; RUN: llvm-as < %s > %t.opaque.bc
; RUN: llvm-ar cr %t.a %S/Inputs/typed.bc %t.opaque.bc
; RUN: llvm-nm --just-symbol-name %t.a | FileCheck %s
; CHECK-LABEL: typed.bc:
; CHECK: test
; CHECK-LABEL: opaque.bc:
; CHECK: test
define void @test() {
ret void
}