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

7 lines
198 B
LLVM

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