Home | History | Annotate | Download | only in FileCheck
      1 ; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck --check-prefix=ERROR %s
      2 
      3 bar
      4 zed
      5 
      6 CHECK-LABEL: {{^}}bar
      7 CHECK-DAG: {{^}}foo
      8 CHECK-LABEL: {{^}}zed
      9 
     10 ERROR: error: expected string not found in input
     11 ERROR-NEXT: CHECK-DAG: {{.....}}foo
     12