llvm-for-llvmta/test/FileCheck/comment/within-checks.txt

9 lines
364 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# A comment directive is not recognized within a check directive's pattern and
# thus does not comment out the remainder of the pattern.
RUN: echo 'foo' > %t.in
RUN: echo 'CHECK: foo COM: bar' > %t.chk
RUN: %ProtectFileCheckOutput not FileCheck %t.chk < %t.in 2>&1 | FileCheck %s
CHECK: .chk:1:8: error: CHECK: expected string not found in input