llvm-project/llvm/test/Assembler/private-protected-alias.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

7 lines
196 B
LLVM

; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
@global = global i32 0
@alias = private protected alias i32, ptr @global
; CHECK: symbol with local linkage must have default visibility