summaryrefslogtreecommitdiffstats
path: root/llvm/test/FileCheck/check-not-diaginfo.txt
blob: 6c1718312eb5181814293aacea3343535cb2f965 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: %ProtectFileCheckOutput 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: {{^}}           ^~~~{{$}}
OpenPOWER on IntegriCloud