21 lines · plain
1; RUN: llc -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s2 3@zed = external hidden constant i324 5define available_externally hidden void @baz() {6 ret void7}8 9define hidden void @foo() nounwind {10entry:11 call void @bar(ptr @zed)12 call void @baz()13 ret void14}15 16declare hidden void @bar(ptr)17 18;CHECK: .hidden zed19;CHECK: .hidden baz20;CHECK: .hidden bar21