| 1 |
# There's only one substitution whose pattern matches exactly, but there's |
| 2 |
# another partial match, and that can lead to confusing expansions. |
| 3 |
|
| 4 |
# REDEFINE: %{global:multiple-once-exact}=foo |
| 5 |
# RUN: echo %{global:multiple-once-exact} |
| 6 |
|
| 7 |
# CHECK: ValueError: Multiple substitutions whose patterns contain '%{global:multiple-once-exact}' are defined before '{{REDEFINE}}:' directive at line [[#@LINE-3]] |
| 8 |
# CHECK-NEXT: Existing pattern: <%{global:multiple-once-exact}> |
| 9 |
# CHECK-NEXT: Existing pattern: %{global:multiple-once-exact} |
| 10 |
# CHECK-NOT: Existing pattern: |
| 11 |
|
| 12 |
# CHECK: Unresolved: 1 {{\([0-9]*.[0-9]*%\)}} |