aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/private-hidden-function.ll
blob: dd73f0413b9f8a870790836b259a7225c6cef2ed (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s

define private hidden void @function() {
; CHECK: symbol with local linkage must have default visibility
entry:
  ret void
}