llvm.org GIT mirror llvm / master test / FileCheck / check-not-diaginfo.txt
master

Tree @master (Download .tar.gz)

check-not-diaginfo.txt @masterraw · history · blame

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