From eea93839eb5cd5c3716df8a3d64fd6ce69db9893 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 31 May 2003 21:33:08 +0000 Subject: New testcase 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll (limited to 'test/Transforms/FunctionResolve') 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 + -- cgit v1.1