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:
Chris Lattner 2003-10-21 23:17:45 +00:00
parent aeb18ce9c0
commit 4b611631bc

View File

@ -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