forked from OSchip/llvm-project
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:
parent
4f2581f828
commit
de20d44b3e
|
@ -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…
Reference in New Issue