aboutsummaryrefslogtreecommitdiff
path: root/test/fuzzer/print-func.test
blob: 9357f3fee54e373822eab8a4b50fbba8b7792999 (plain)
1
2
3
4
5
6
7
8
9
10
11
UNSUPPORTED: darwin
RUN: %cpp_compiler %S/PrintFuncTest.cpp -o %t
RUN: %t -seed=1 -runs=100000 2>&1 | FileCheck %s
RUN: %t -seed=1 -runs=100000 -print_funcs=0 2>&1 | FileCheck %s --check-prefix=NO
CHECK: NEW_FUNC{{.*}} FunctionA
CHECK: NEW_FUNC{{.*}} FunctionB
CHECK: NEW_FUNC{{.*}} FunctionC
CHECK: BINGO

NO-NOT: NEW_FUNC
NO: BINGO