Home | History | Annotate | Download | only in FileCheck
      1 ; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
      2 
      3 CHECK-NOT: test
      4 
      5 DIAG:         error: CHECK-NOT: excluded string found in input
      6 DIAG-NEXT:    CHECK-NOT: test
      7 DIAG-NEXT: {{^           \^}}
      8 DIAG-NEXT:    note: found here
      9 DIAG-NEXT:    CHECK-NOT: test
     10 DIAG-NEXT: {{^           \^}}
     11