view compiler-rt/test/fuzzer/print-func.test @ 256:7d9b19ec7a62

cbclang output is still wrong
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 18:48:47 +0900
parents 1f2b6ac9f198
children
line wrap: on
line source

UNSUPPORTED: darwin, target=aarch64{{.*}}
RUN: %cpp_compiler %S/PrintFuncTest.cpp -o %t
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
CHECK: NEW_FUNC{{.*}} FunctionA
CHECK: NEW_FUNC{{.*}} FunctionB
CHECK: NEW_FUNC{{.*}} FunctionC
CHECK: BINGO

NO-NOT: NEW_FUNC
NO: BINGO