forked from OSchip/llvm-project
13 lines
284 B
Plaintext
13 lines
284 B
Plaintext
; 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
|