xref: /llvm-project/llvm/utils/lit/tests/Inputs/shtest-define/errors/defined-check/define-suffixes-pattern.txt (revision 0b7ae41b23fc05c2ac3afc8566b8a923d7f76c45)
1# DEFINE: %{global:suffix} = @
2# RUN: echo '@%{global:suffix}'
3
4#      CHECK: ValueError: Substitution whose pattern contains '%{global:suffix}' is already defined before '{{DEFINE}}:' directive at line [[#@LINE-3]]
5# CHECK-NEXT: Existing pattern: @%{global:suffix}
6#  CHECK-NOT: Existing pattern:
7
8# CHECK: Unresolved: 1 {{\([0-9]*.[0-9]*%\)}}
9