blob: 6c3f8303d4f67d4e49ccc9916b04230b95d0cafd [file] [log] [blame]
# Comment directives do not suppress diagnostics for unused check prefixes.
RUN: echo 'foo' > %t.in
RUN: echo 'COM: foo' > %t.chk
RUN: echo 'RUN: echo' >> %t.chk
RUN: %ProtectFileCheckOutput not FileCheck %t.chk < %t.in 2>&1 | FileCheck %s
CHECK: error: no check strings found with prefix 'CHECK:'