gn build: Merge r374476
[llvm-complete.git] / test / FileCheck / check-not-diaginfo.txt
blob389c1784a2ad0f6544bbc9c6bb9bc486c0276a6c
1 ; RUN: not FileCheck --input-file %s %s 2>&1 \
2 ; RUN:   | FileCheck --strict-whitespace --check-prefix DIAG %s
4 CHECK-NOT: test
6 DIAG:           error: CHECK-NOT: excluded string found in input
7 DIAG-NEXT:      CHECK-NOT: test
8 DIAG-NEXT: {{^}}           ^{{$}}
9 DIAG-NEXT:      note: found here
10 DIAG-NEXT:      CHECK-NOT: test
11 DIAG-NEXT: {{^}}           ^~~~{{$}}