bolt/deps/llvm-18.1.8/clang/test/CoverageMapping/mcdc-error-conditions.cpp
2025-02-14 19:21:04 +01:00

7 lines
402 B
C++

// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++11 -fcoverage-mcdc -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only %s 2>&1| FileCheck %s
bool func_conditions(bool a, bool b, bool c, bool d, bool e, bool f, bool g) {
return a && b && c && d && e && f && g;
}
// CHECK: warning: unsupported MC/DC boolean expression; number of conditions{{.*}} exceeds max