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