llvm-project/llvm/test/CodeGen/X86/visibility.ll

12 lines
194 B
LLVM

; RUN: llc -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s
define hidden void @foo() nounwind {
entry:
call void @bar()
ret void
}
declare hidden void @bar()
;CHECK: .hidden bar