llvm-for-llvmta/test/Assembler/alias-redefinition.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

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