From 22de210b60ab1fbc3a1625ee1b7aeade1e5ebd2f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 17 Aug 2002 22:36:45 +0000 Subject: [PATCH] Include a basic simple test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3369 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/GlobalDCE/basicvariabletest.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/Transforms/GlobalDCE/basicvariabletest.ll diff --git a/test/Transforms/GlobalDCE/basicvariabletest.ll b/test/Transforms/GlobalDCE/basicvariabletest.ll new file mode 100644 index 00000000000..a3d65c79f4b --- /dev/null +++ b/test/Transforms/GlobalDCE/basicvariabletest.ll @@ -0,0 +1,9 @@ +; RUN: if as < %s | opt -globaldce | dis | grep global +; RUN: then exit 1 +; RUN: else exit 0 +; RUN: fi + + +%X = uninitialized global int +%Y = internal global int 7 + -- 2.34.1