blob: a2a3fc77db9a185833fad09ebaccce0d4d9fa7a1 [file] [log] [blame] [edit]
## Show that llvm-strings prints the last string in the input even if no
## unprintable character follows it.
RUN: echo -n abcdefg > %t
RUN: llvm-strings %t - | FileCheck %s --check-prefix=PRINT
PRINT: abcdefg
## Show that llvm-strings does not print the last string in the input if it is
## too short and no unprintable character follows it.
RUN: echo -n abc > %t
RUN: llvm-strings %t - | FileCheck --allow-empty %s --check-prefix=NOPRINT
NOPRINT-NOT: {{.}}