diff --git a/llvm/test/tools/llvm-objcopy/ELF/standard-streams.test b/llvm/test/tools/llvm-objcopy/ELF/standard-streams.test new file mode 100644 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/ELF/standard-streams.test @@ -0,0 +1,7 @@ +# RUN: llvm-objcopy - %t < %p/Inputs/alloc-symtab.o +# RUN: llvm-objcopy %p/Inputs/alloc-symtab.o %t1 +# RUN: cmp %t %t1 + +# RUN: llvm-objcopy %p/Inputs/alloc-symtab.o - > %t2 +# RUN: cmp %t1 %t2 +