llvm-for-llvmta/test/Assembler/internal-protected-function.ll

8 lines
187 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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
}