blob: e52501f8961ce8bf85962be0fac1581a6e053971 [file] [log] [blame]
; 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