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