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