Debian Codegraph @

llvm/utils/lit/tests/Inputs/shtest-define/errors/defined-check/redefine-multiple-exact.txt

raw
1 # It's impossible to multiply define a local substitution, but a lit config file
2 # substitution can be multiply defined. The trouble is we then don't know which
3 # definition to redefine locally.
4
5 # REDEFINE: %{global:multiple-exact}=foo
6 # RUN: echo %{global:multiple-exact}
7
8 # CHECK: ValueError: Multiple substitutions whose patterns contain '%{global:multiple-exact}' are defined before '{{REDEFINE}}:' directive at line [[#@LINE-3]]
9 # CHECK-NEXT: Existing pattern: %{global:multiple-exact}
10 # CHECK-NEXT: Existing pattern: %{global:multiple-exact}
11 # CHECK-NOT: Existing pattern:
12
13 # CHECK: Unresolved: 1 {{\([0-9]*.[0-9]*%\)}}