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