xref: /llvm-project/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd-err.test (revision c26dc2904b95b3685d883e760e84046ea6c33d7f)
1# UNSUPPORTED: zstd
2# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t
3# RUN: not llvm-objcopy --compress-debug-sections=zstd %t /dev/null 2>&1 | FileCheck %s
4
5# CHECK: error: LLVM was not compiled with LLVM_ENABLE_ZSTD: cannot compress
6