blob: b5b2986cd67cc863f2ec6411e90a4705b0ba9ff1 [file] [log] [blame]
# This file contains invalid regular expressions in variable patterns. Make
# sure a proper error message is presented
//------------------------------------------------
RUN: %ProtectFileCheckOutput \
RUN: not FileCheck -check-prefix=CHECK-STAR %s < /dev/null 2>&1 | \
RUN: FileCheck -check-prefix=ERR-STAR %s
CHECK-STAR: [[BOOM:*]]
ERR-STAR: error: invalid regex: repetition-operator operand invalid
//------------------------------------------------
RUN: %ProtectFileCheckOutput \
RUN: not FileCheck -check-prefix=CHECK-PLUS %s < /dev/null 2>&1 | \
RUN: FileCheck -check-prefix=ERR-PLUS %s
CHECK-PLUS: [[BOOM:+]]
ERR-PLUS: error: invalid regex: repetition-operator operand invalid
//------------------------------------------------