1 # RUN: yaml2obj %s > %t
3 # RUN: not llvm-objcopy --rename-section=.foo=.bar --set-section-flags=.foo=alloc %t %t.2 2>&1 | FileCheck %s --check-prefix=SET-FOO
4 # RUN: not llvm-objcopy --rename-section=.foo=.bar --set-section-flags=.bar=alloc %t %t.2 2>&1 | FileCheck %s --check-prefix=SET-BAR
13 # SET-FOO: --set-section-flags=.foo conflicts with --rename-section=.foo=.bar
14 # SET-BAR: --set-section-flags=.bar conflicts with --rename-section=.foo=.bar