You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
440 B

## Show that llvm-strings prints the last string in the input even if no
## unprintable character follows it.
RUN: echo -n abcdefg | llvm-strings - | 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 | llvm-strings - | FileCheck --allow-empty %s --check-prefix=NOPRINT
NOPRINT-NOT: {{.}}