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

@global = global i32 0

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