New testcase: globals should be linked if they are the wrong type. We should

just moan loudly.

llvm-svn: 9358
This commit is contained in:
Chris Lattner 2003-10-21 23:17:45 +00:00
parent 4f2581f828
commit de20d44b3e
1 changed files with 10 additions and 0 deletions

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