llvm-for-llvmta/test/FileCheck/check-not-diaginfo.txt
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

12 lines
386 B
Plaintext

; 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: {{^}} ^~~~{{$}}