summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test b/llvm/test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test
new file mode 100644
index 00000000000..0478c22f325
--- /dev/null
+++ b/llvm/test/tools/llvm-objcopy/compress-and-decompress-debug-sections-error.test
@@ -0,0 +1,5 @@
+# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
+# RUN: not llvm-objcopy --compress-debug-sections=zlib --decompress-debug-sections %t.o 2>&1 | FileCheck %s
+
+# CHECK: Cannot specify --compress-debug-sections at the same time as --decompress-debug-sections at the same time.
+
OpenPOWER on IntegriCloud