# DEFINE: %{global:greeting}=Hello
# RUN: %{global:echo}
# CHECK: ValueError: Substitution whose pattern contains '%{global:greeting}' is already defined before '{{DEFINE}}:' directive at line [[#@LINE-3]]
# CHECK-NEXT: Existing pattern: %{global:greeting}
# CHECK-NOT: Existing pattern:
# CHECK: Unresolved: 1 {{\([0-9]*.[0-9]*%\)}}