blob: b037285fcf5b8e733b62bd9bbf42f62df706a970 [file] [edit]
; CHECK requires a pattern, so the no-newline EOF case must fail here.
; RUN: printf "CHECK:" > %t.no-pattern.chk
; RUN: %ProtectFileCheckOutput \
; RUN: not FileCheck --allow-empty --input-file=/dev/null %t.no-pattern.chk 2>&1 \
; RUN: | FileCheck %s --check-prefix=ERR-EMPTY-CHECK
ERR-EMPTY-CHECK: error: found empty check string