New testcase
authorChris Lattner <sabre@nondot.org>
Sat, 31 May 2003 21:33:08 +0000 (21:33 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 31 May 2003 21:33:08 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6484 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll [new file with mode: 0644]

diff --git a/test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll b/test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll
new file mode 100644 (file)
index 0000000..88d6775
--- /dev/null
@@ -0,0 +1,10 @@
+; This testcase should not cause a warning!
+
+; RUN: if (as < %s | opt -funcresolve -disable-output) 2>&1 | grep 'WARNING'
+; RUN: then exit 1
+; RUN: else exit 0
+; RUN: fi
+
+%X = internal global float 1.0
+%X = internal global int 1
+