You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
309 B

# 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:'