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

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