1 # Runs the Reject.cpp test,
2 # ensures that the input 'acc' is present in the corpus,
3 # and the input 'rej' is not.
5 RUN: rm -rf %t-corpus && mkdir %t-corpus
6 RUN: %cpp_compiler %S/Reject.cpp -o %t-Reject
7 RUN: %run %t-Reject -runs=1000000 %t-corpus
8 RUN: grep 'acc' %t-corpus/*
9 RUN: not grep 'rej' %t-corpus/*