[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / FileCheck / multiple-check-not-failures.txt
blob3b7b465719a0c90073295a28732e803f2271298e
1 ; Check that all errors in a CHECK-NOT blocks are reported, but that FileCheck
2 ; does not check past the block.
3 RUN: %ProtectFileCheckOutput \
4 RUN: not FileCheck --dump-input=never --input-file %s %s 2>&1 | \
5 RUN:   FileCheck --strict-whitespace --check-prefix CHECK-ERRORS %s
7 foo
8 bar
10 barrier
12 baz
14 CHECK-NOT: bar
15 CHECK-NOT: foo
16 CHECK: barrier
17 CHECK-NOT: baz
19 CHECK-ERRORS: multiple-check-not-failures.txt:[[#@LINE-5]]:12: error: {{C}}HECK-NOT: excluded string found in input
20 CHECK-ERRORS-NEXT:      {{C}}HECK-NOT: bar
21 CHECK-ERRORS-NEXT:     {{^}}           ^{{$}}
22 CHECK-ERRORS-NEXT:      multiple-check-not-failures.txt:[[#@LINE-14]]:1: note: found here
23 CHECK-ERRORS-NEXT:      bar
24 CHECK-ERRORS-NEXT: {{^}}^~~{{$}}
25 CHECK-ERRORS-NEXT:      multiple-check-not-failures.txt:[[#@LINE-10]]:12: error: {{C}}HECK-NOT: excluded string found in input
26 CHECK-ERRORS-NEXT:      {{C}}HECK-NOT: foo
27 CHECK-ERRORS-NEXT:     {{^}}           ^{{$}}
28 CHECK-ERRORS-NEXT:      multiple-check-not-failures.txt:[[#@LINE-21]]:1: note: found here
29 CHECK-ERRORS-NEXT:      foo
30 CHECK-ERRORS-NEXT: {{^}}^~~{{$}}
31 CHECK-ERRORS-NOT: error:
32 CHECK-ERRORS-NOT:      {{C}}HECK-NOT: baz