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

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