aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/internal-protected-alias.ll
blob: 69db88721329a51fbeab7e63050ec3f2bd52ee24 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s

@global = global i32 0

@alias = internal protected alias i32, ptr @global
; CHECK: symbol with local linkage must have default visibility