diff options
-rw-r--r-- | test/Transforms/GlobalDCE/basicvariabletest.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/GlobalDCE/basicvariabletest.ll b/test/Transforms/GlobalDCE/basicvariabletest.ll new file mode 100644 index 0000000000..a3d65c79f4 --- /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 + |