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

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