14 lines · plain
1## Show that llvm-strings prints the last string in the input even if no2## unprintable character follows it.3 4RUN: echo -n abcdefg > %t5RUN: llvm-strings %t - | FileCheck %s --check-prefix=PRINT6PRINT: abcdefg7 8## Show that llvm-strings does not print the last string in the input if it is9## too short and no unprintable character follows it.10 11RUN: echo -n abc > %t12RUN: llvm-strings %t - | FileCheck --allow-empty %s --check-prefix=NOPRINT13NOPRINT-NOT: {{.}}14