aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/internal-protected-alias.ll
blob: 37e90a0de1c332b9f523109eedf41be604610f86 (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, i32* @global
; CHECK: symbol with local linkage must have default visibility