blob: 7284970a4cf023cb2a04a41039172311ade0546b [file] [log] [blame]
## Show that --print-file-name prints the name of the file before each line in
## the output.
RUN: echo abcd > %t
RUN: echo efg >> %t
RUN: echo hijk >> %t
RUN: llvm-strings -f %t | FileCheck %s --strict-whitespace -DFILE=%t
RUN: llvm-strings --print-file-name %t | FileCheck %s --strict-whitespace -DFILE=%t
CHECK: [[FILE]]: abcd
CHECK-NEXT: [[FILE]]: hijk