llvm-project/llvm/utils/lit/tests/Inputs/shtest-define/errors/defined-check/define-already-by-test.txt
raw| 1 | # DEFINE: %{foo}=bar |
| 2 | # RUN: echo %{foo} |
| 3 | # DEFINE: %{foo}=bar |
| 4 | # RUN: echo %{foo} |
| 5 | |
| 6 | # CHECK: ValueError: Substitution whose pattern contains '%{foo}' is already defined before '{{DEFINE}}:' directive at line [[#@LINE-3]] |
| 7 | # CHECK-NEXT: Existing pattern: %{foo} |
| 8 | # CHECK-NOT: Existing pattern: |
| 9 | |
| 10 | # CHECK: Unresolved: 1 |