9 lines · plain
1# Comment directives do not suppress diagnostics for unused check prefixes.2 3RUN: echo 'foo' > %t.in4RUN: echo 'COM: foo' > %t.chk5RUN: echo 'RUN: echo' >> %t.chk6RUN: %ProtectFileCheckOutput not FileCheck %t.chk < %t.in 2>&1 | FileCheck %s7 8CHECK: error: no check strings found with prefix 'CHECK:'9