12 lines · plain
1; RUN: %ProtectFileCheckOutput not FileCheck --input-file %s %s 2>&1 \2; RUN: | FileCheck --strict-whitespace --check-prefix DIAG %s3 4CHECK-NOT: test5 6DIAG: error: CHECK-NOT: excluded string found in input7DIAG-NEXT: CHECK-NOT: test8DIAG-NEXT: {{^}} ^{{$}}9DIAG-NEXT: note: found here10DIAG-NEXT: CHECK-NOT: test11DIAG-NEXT: {{^}} ^~~~{{$}}12