[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 21 18:18:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2003-10-21-GlobalTypeDifference.ll added (r1.1)
---
Log message:
New testcase: globals should be linked if they are the wrong type. We should
just moan loudly.
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll
diff -c /dev/null llvm/test/Regression/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll:1.1
*** /dev/null Tue Oct 21 18:17:56 2003
--- llvm/test/Regression/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll Tue Oct 21 18:17:45 2003
***************
*** 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
+
More information about the llvm-commits
mailing list