1 # A comment directive is not recognized within a check directive's pattern and
2 # thus does not comment out the remainder of the pattern.
4 RUN: echo 'foo' > %t.in
5 RUN: echo 'CHECK: foo COM: bar' > %t.chk
6 RUN: %ProtectFileCheckOutput not FileCheck %t.chk < %t.in 2>&1 | FileCheck %s
8 CHECK: .chk:1:8: error: CHECK: expected string not found in input