9 lines · plain
1# A comment directive is not recognized within a check directive's pattern and2# thus does not comment out the remainder of the pattern.3 4RUN: echo 'foo' > %t.in5RUN: echo 'CHECK: foo COM: bar' > %t.chk6RUN: %ProtectFileCheckOutput not FileCheck %t.chk < %t.in 2>&1 | FileCheck %s7 8CHECK: .chk:1:8: error: CHECK: expected string not found in input9