blob: 19b5adc85ef0e4b1d84d5b2069727eae23f04c8d [file] [log] [blame]
James Hendersonf23ce122019-08-12 11:36:11 +00001## Show that llvm-strings prints the last string in the input even if no
2## unprintable character follows it.
3
James Henderson43e9ead2019-09-02 11:42:30 +00004RUN: echo -n abcdefg | llvm-strings - | FileCheck %s --check-prefix=PRINT
5PRINT: abcdefg
6
7## Show that llvm-strings does not print the last string in the input if it is
8## too short and no unprintable character follows it.
9
10RUN: echo -n abc | llvm-strings - | FileCheck --allow-empty %s --check-prefix=NOPRINT
11NOPRINT-NOT: {{.}}