You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
284 B

; 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