xref: /llvm-project/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd-err.test (revision b6e1fd761d2831fef82c7ce4909832a10cce5dc2)
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 built with LLVM_ENABLE_ZSTD or did not find zstd at build time
6