Sign in
llvm
/
llvm-project
/
0e85232fa39dbe54b13b40320460dd4f945b29fd
/
.
/
llvm
/
test
/
Transforms
/
EliminateAvailableExternally
/
visibility.ll
blob: f24b8ac65e164347592c4f86c2e65b8c17e85e72 [
file
] [
log
] [
blame
]
; RUN: opt -passes=elim-avail-extern -S < %s | FileCheck %s
; CHECK: declare hidden void @f()
define
available_externally
hidden
void
@f
()
{
ret
void
}
define
void
@g
()
{
call
void
@f
()
ret
void
}