1# Not using comment directives is always fine.
2
3RUN: echo 'foo'        > %t.in
4RUN: echo 'CHECK: foo' > %t.chk
5
6# Check the case of default comment prefixes.
7RUN: %ProtectFileCheckOutput \
8RUN: FileCheck -dump-input=never -vv %t.chk < %t.in 2>&1 | FileCheck %s
9
10# Specifying non-default comment prefixes doesn't mean you have to use them.
11# For example, they might be applied to an entire test suite via
12# FILECHECK_OPTS or via a wrapper command or substitution.
13RUN: %ProtectFileCheckOutput \
14RUN: FileCheck -dump-input=never -vv -comment-prefixes=FOO %t.chk < %t.in 2>&1 | FileCheck %s
15
16CHECK: .chk:1:8: remark: CHECK: expected string found in input
17