mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
5a89507638
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. llvm-svn: 208447
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
|