bolt/deps/llvm-18.1.8/llvm/test/LTO/X86/pr25919.ll
2025-02-14 19:21:04 +01:00

11 lines
270 B
LLVM

; RUN: llvm-as < %s >%t1
; RUN: llvm-lto -list-symbols-only %t1 | FileCheck %s
; This tests that we don't crash trying to find all uses in a lazily loaded
; module.
; CHECK: foo
target triple = "x86_64-unknown-linux-gnu"
define linkonce_odr void @foo() {
ret void
}