bolt/deps/llvm-18.1.8/llvm/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll
2025-02-14 19:21:04 +01:00

9 lines
222 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s
; PR1358
; CHECK: icmp ne (ptr @test_weak, ptr null)
@G = global i1 icmp ne (ptr @test_weak, ptr null)
declare extern_weak i32 @test_weak(...)