mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
3ca337d5d9
This fixes parsing of forward references to unnamed aliases. While here, remove an unnecessary isa check. llvm-svn: 254054
8 lines
166 B
LLVM
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
|