diff options
Diffstat (limited to 'test/FileCheck/check-label-dag.txt')
-rw-r--r-- | test/FileCheck/check-label-dag.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FileCheck/check-label-dag.txt b/test/FileCheck/check-label-dag.txt new file mode 100644 index 0000000000..2f54c3ea94 --- /dev/null +++ b/test/FileCheck/check-label-dag.txt @@ -0,0 +1,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 |