xref: /llvm-project/llvm/test/tools/llvm-objcopy/ELF/compress-and-decompress-debug-sections-error.test (revision d54d4f990592bfcc9d6cdccc2eb086c83bfbaa3a)
1# REQUIRES: zlib
2
3# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
4# RUN: not llvm-objcopy --compress-debug-sections=zlib --decompress-debug-sections %t.o 2>&1 | FileCheck %s
5
6# CHECK: cannot specify both --compress-debug-sections and --decompress-debug-sections
7
8