llvm-for-llvmta/test/tools/llvm-strings/stdin-filename.test

8 lines
328 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
## Show that --print-file-name works when the input is standard input.
RUN: echo abcd | llvm-strings -f - | FileCheck %s
RUN: echo abcd | llvm-strings -f | FileCheck %s
RUN: echo abcd | llvm-strings --print-file-name - | FileCheck %s
RUN: echo abcd | llvm-strings --print-file-name | FileCheck %s
CHECK: {standard input}: abcd