Print the visibility of declarations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2011-01-28 03:20:10 +00:00
parent 4c4c732960
commit 1ffb533699
2 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
; RUN: llc %s -o - | FileCheck %s
define hidden void @foo() nounwind {
entry:
call void @bar()
ret void
}
declare hidden void @bar()
;CHECK: .hidden bar