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