; RUN: not FileCheck --input-file %s %s 2>&1 \
; RUN:   | FileCheck --strict-whitespace --check-prefix DIAG %s

CHECK-NOT: test

DIAG:           error: CHECK-NOT: excluded string found in input
DIAG-NEXT:      CHECK-NOT: test
DIAG-NEXT: {{^}}           ^{{$}}
DIAG-NEXT:      note: found here
DIAG-NEXT:      CHECK-NOT: test
DIAG-NEXT: {{^}}           ^~~~{{$}}
