mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
1acea2db56
One error we were not deleting the alias or putting it in the Module. The end result is that there was an use left of the aliasee when the module was deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208447 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
162 B
LLVM
8 lines
162 B
LLVM
; RUN: not llvm-as %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: error: redefinition of global named '@bar'
|
|
|
|
@foo = global i32 0
|
|
@bar = alias i32* @foo
|
|
@bar = alias i32* @foo
|