aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/private-protected-alias.ll
blob: 37bdabaf8a5ef9e35fd462fab9885c59b5c66595 (plain) (blame)
1
2
3
4
5
6
; 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