mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 16:18:37 +00:00

This fixes parsing of forward references to unnamed aliases. While here, remove an unnecessary isa check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254054 91177308-0d34-0410-b5e6-96231b3b80d8
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
|