llvm-project/llvm/test/Assembler/internal-hidden-function.ll

8 lines
184 B
LLVM

; 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
}