• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Show that --print-file-name prints the name of the file before each line in
2## the output.
3
4RUN: echo abcd > %t
5RUN: echo efg >> %t
6RUN: echo hijk >> %t
7RUN: llvm-strings -f %t | FileCheck %s --strict-whitespace -DFILE=%t
8RUN: llvm-strings --print-file-name %t | FileCheck %s --strict-whitespace -DFILE=%t
9CHECK:      [[FILE]]: abcd
10CHECK-NEXT: [[FILE]]: hijk
11