summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/binary-out-error.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/binary-out-error.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/binary-out-error.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/binary-out-error.test b/llvm/test/tools/llvm-objcopy/binary-out-error.test
new file mode 100644
index 00000000000..820b8f73edf
--- /dev/null
+++ b/llvm/test/tools/llvm-objcopy/binary-out-error.test
@@ -0,0 +1,2 @@
+# RUN: not llvm-objcopy -O binary %p/Inputs/alloc-symtab.o %t2 2>&1 >/dev/null | FileCheck %s --check-prefix=SYMTAB
+# SYMTAB: Cannot write symbol table '.symtab' out to binary
OpenPOWER on IntegriCloud