mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Don't assume that the forward referenced entity was of the same global-kind as the new entity. This fixes PR21779. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223754 91177308-0d34-0410-b5e6-96231b3b80d8
5 lines
170 B
LLVM
5 lines
170 B
LLVM
; RUN: not llvm-as %s -disable-output 2>&1 | grep "forward reference and definition of global have different types"
|
|
|
|
@a2 = alias void ()* @g2
|
|
@g2 = internal global i8 42
|