summaryrefslogtreecommitdiff
path: root/test/FileCheck/check-label-dag.txt
blob: 2f54c3ea94ecdf803573e2e91b0f91fef79f9814 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck --check-prefix=ERROR %s

bar
zed

CHECK-LABEL: {{^}}bar
CHECK-DAG: {{^}}foo
CHECK-LABEL: {{^}}zed

ERROR: error: expected string not found in input
ERROR-NEXT: CHECK-DAG: {{.....}}foo