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

bar
zed

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

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