llvm-for-llvmta/test/FileCheck/check-not-diaginfo.txt

12 lines
386 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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: {{^}} ^~~~{{$}}