aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/private-protected-alias.ll
blob: f1824a2f3c7c4299968ae7a7a368e1833ffc4b97 (plain)
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* @global
; CHECK: symbol with local linkage must have default visibility