• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: not llvm-strings -n 0 2>&1 %S/Inputs/variable-length | FileCheck --check-prefix CHECK-0 %s
2RUN: llvm-strings -n 1 %S/Inputs/variable-length | FileCheck --check-prefix CHECK-1 %s
3RUN: llvm-strings -n 2 %S/Inputs/variable-length | FileCheck --check-prefix CHECK-2 %s
4RUN: llvm-strings %S/Inputs/variable-length | FileCheck --check-prefix CHECK-DEFAULT %s
5
6STDIN: a
7STDIN: ab
8STDIN: abc
9STDIN: abcd
10
11CHECK-DEFAULT: abcd
12
13CHECK-0: invalid minimum string length 0
14
15CHECK-1: a
16CHECK-1: ab
17CHECK-1: abc
18CHECK-1: abcd
19
20CHECK-2-NOT: a
21CHECK-2: ab
22CHECK-2: abc
23CHECK-2: abcd
24
25