13 lines · plain
1; RUN: %ProtectFileCheckOutput not FileCheck -input-file %s %s 2>&1 \2; RUN: | FileCheck --check-prefix=ERROR %s3 4bar5zed6 7CHECK-LABEL: {{^}}bar8CHECK-DAG: {{^}}foo9CHECK-LABEL: {{^}}zed10 11ERROR: error: CHECK-DAG: expected string not found in input12ERROR-NEXT: CHECK-DAG: {{.....}}foo13