xref: /llvm-project/llvm/test/FileCheck/check-label-dag.txt (revision f471eb8e99b564265a4bea326922263ff06cda40)
1; RUN: %ProtectFileCheckOutput not FileCheck -input-file %s %s 2>&1 \
2; RUN: | FileCheck --check-prefix=ERROR %s
3
4bar
5zed
6
7CHECK-LABEL: {{^}}bar
8CHECK-DAG: {{^}}foo
9CHECK-LABEL: {{^}}zed
10
11ERROR: error: CHECK-DAG: expected string not found in input
12ERROR-NEXT: CHECK-DAG: {{.....}}foo
13