llvm-project/llvm/utils/lit/tests/Inputs/shtest-define/errors/defined-check/redefine-prefixes-pattern.txt
raw| 1 | # REDEFINE: %{global:prefix} = @ |
| 2 | # RUN: echo '%{global:prefix}(foo)' |
| 3 | |
| 4 | # CHECK: ValueError: Existing substitution whose pattern contains '%{global:prefix}' does not have the pattern specified by '{{REDEFINE}}:' directive at line [[#@LINE-3]] |
| 5 | # CHECK-NEXT: Expected pattern: %{global:prefix} |
| 6 | # CHECK-NEXT: Existing pattern: %{global:prefix}\((.*)\) |
| 7 | # CHECK-NOT: Existing pattern: |
| 8 | |
| 9 | # CHECK: Unresolved: 1 |