1# This file contains invalid regular expressions in variable patterns. Make 2# sure a proper error message is presented 3//------------------------------------------------ 4RUN: %ProtectFileCheckOutput \ 5RUN: not FileCheck -check-prefix=CHECK-STAR %s < /dev/null 2>&1 | \ 6RUN: FileCheck -check-prefix=ERR-STAR %s 7 8CHECK-STAR: [[BOOM:*]] 9ERR-STAR: error: invalid regex: repetition-operator operand invalid 10 11//------------------------------------------------ 12RUN: %ProtectFileCheckOutput \ 13RUN: not FileCheck -check-prefix=CHECK-PLUS %s < /dev/null 2>&1 | \ 14RUN: FileCheck -check-prefix=ERR-PLUS %s 15 16CHECK-PLUS: [[BOOM:+]] 17ERR-PLUS: error: invalid regex: repetition-operator operand invalid 18 19//------------------------------------------------ 20