blob: b3f20c475aa9c3f6ceabc0d24f77a41dd47f0645 [file] [log] [blame]
RUN: mkdir -p %t
RUN: %cpp_compiler %S/NthRunCrashTest.cpp -o %t-NthRunCrashTest
RUN: echo abcd > %t/NthRunCrashTest.in
RUN: %run %t-NthRunCrashTest %t/NthRunCrashTest.in
RUN: %run %t-NthRunCrashTest %t/NthRunCrashTest.in -runs=10
RUN: not %run %t-NthRunCrashTest %t/NthRunCrashTest.in -runs=10000 2>&1 | FileCheck %s
RUN: rm %t/NthRunCrashTest.in
CHECK: BINGO