1; RUN: %ProtectFileCheckOutput not FileCheck --input-file %s %s 2>&1 \
2; RUN:   | FileCheck --strict-whitespace --check-prefix DIAG %s
3
4CHECK-NOT: test
5
6DIAG:           error: CHECK-NOT: excluded string found in input
7DIAG-NEXT:      CHECK-NOT: test
8DIAG-NEXT: {{^}}           ^{{$}}
9DIAG-NEXT:      note: found here
10DIAG-NEXT:      CHECK-NOT: test
11DIAG-NEXT: {{^}}           ^~~~{{$}}
12