llvm-project/llvm/test/Assembler/alias-redefinition.ll

8 lines
166 B
LLVM

; RUN: not llvm-as %s 2>&1 | FileCheck %s
; CHECK: error: redefinition of global '@bar'
@foo = global i32 0
@bar = alias i32, i32* @foo
@bar = alias i32, i32* @foo