# RUN: not llvm-objcopy -R .dynstr %p/Inputs/dynsym.so %t 2>&1 >/dev/null | FileCheck %s # CHECK: Section .dynstr cannot be removed because it is referenced by the section .dynsym