mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
New testcase: globals should be linked if they are the wrong type. We should
just moan loudly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9358 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aeb18ce9c0
commit
4b611631bc
@ -0,0 +1,10 @@
|
|||||||
|
; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | grep WARNING
|
||||||
|
|
||||||
|
%X = external global int
|
||||||
|
%Z = global int* %X
|
||||||
|
|
||||||
|
%X = global float 1.0
|
||||||
|
%Y = global float* %X
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user