llvm-project/llvm/test/Assembler/private-protected-alias.ll

7 lines
197 B
LLVM

; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
@global = global i32 0
@alias = private protected alias i32, i32* @global
; CHECK: symbol with local linkage must have default visibility