view test/CodeGen/X86/visibility.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children afa8332a0e37
line wrap: on
line source

; RUN: llc -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s

@zed = external hidden constant i32

define hidden void @foo() nounwind {
entry:
  call void @bar(i32* @zed)
  ret void
}

declare hidden void @bar(i32*)

;CHECK: .hidden	zed
;CHECK: .hidden	bar