xref: /llvm-project/llvm/utils/lit/tests/Inputs/shtest-define/errors/defined-check/redefine-inside-pattern.txt (revision 0b7ae41b23fc05c2ac3afc8566b8a923d7f76c45)
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]*%\)}}
10