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. 3 4RUN: echo 'foo' > %t.in 5RUN: echo 'CHECK: foo COM: bar' > %t.chk 6RUN: %ProtectFileCheckOutput not FileCheck %t.chk < %t.in 2>&1 | FileCheck %s 7 8CHECK: .chk:1:8: error: CHECK: expected string not found in input 9