aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionResolve
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-31 21:33:08 +0000
committerChris Lattner <sabre@nondot.org>2003-05-31 21:33:08 +0000
commiteea93839eb5cd5c3716df8a3d64fd6ce69db9893 (patch)
tree95442cbc629e5e8c02bb0244180cd9e76f54a4f5 /test/Transforms/FunctionResolve
parent8a143e8810abf7b08690933a3b6aca3fb3ccda03 (diff)
downloadexternal_llvm-eea93839eb5cd5c3716df8a3d64fd6ce69db9893.zip
external_llvm-eea93839eb5cd5c3716df8a3d64fd6ce69db9893.tar.gz
external_llvm-eea93839eb5cd5c3716df8a3d64fd6ce69db9893.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/FunctionResolve')
-rw-r--r--test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll b/test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll
new file mode 100644
index 0000000..88d6775
--- /dev/null
+++ b/test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll
@@ -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
+