2018-06-27 02:37:09 +08:00
|
|
|
UNSUPPORTED: darwin, aarch64
|
2017-08-26 04:09:25 +08:00
|
|
|
RUN: %cpp_compiler %S/PrintFuncTest.cpp -o %t
|
2018-05-12 05:29:51 +08:00
|
|
|
RUN: %run %t -seed=1 -runs=100000 2>&1 | FileCheck %s
|
|
|
|
RUN: %run %t -seed=1 -runs=100000 -print_funcs=0 2>&1 | FileCheck %s --check-prefix=NO
|
2017-08-29 06:52:22 +08:00
|
|
|
CHECK: NEW_FUNC{{.*}} FunctionA
|
|
|
|
CHECK: NEW_FUNC{{.*}} FunctionB
|
|
|
|
CHECK: NEW_FUNC{{.*}} FunctionC
|
2017-08-26 04:09:25 +08:00
|
|
|
CHECK: BINGO
|
|
|
|
|
|
|
|
NO-NOT: NEW_FUNC
|
|
|
|
NO: BINGO
|