llvm/utils/lit/tests/Inputs/shtest-define/errors/continuation/unterminated-define-bad-redefine.txt
raw| 1 | # You cannot continue a DEFINE with a REDEFINE. In this case, the REDEFINE |
| 2 | # is wrong on its own because it's written as a continuation, so the bad |
| 3 | # REDEFINE is reported. |
| 4 | |
| 5 | # DEFINE: %{foo}=echo \ |
| 6 | # REDEFINE: Hello World |
| 7 | # DEFINE: too late to continue |
| 8 | # RUN: %{foo} |
| 9 | |
| 10 | # CHECK: Substitution's definition does not contain '=' |
| 11 | # CHECK-NEXT: in {{REDEFINE}}: directive on test line [[#@LINE-5]] |
| 12 | |
| 13 | # CHECK: Unresolved: 1 {{\([0-9]*.[0-9]*%\)}} |