1 // 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
2
3 // "Split-nest" -- boolean expressions within boolean expressions.
4 extern bool bar(bool);
func_split_nest(bool a,bool b,bool c,bool d,bool e,bool f,bool g)5 bool func_split_nest(bool a, bool b, bool c, bool d, bool e, bool f, bool g) {
6 bool res = a && b && c && bar(d && e) && f && g;
7 return bar(res);
8 }
9
10 // CHECK: warning: unsupported MC/DC boolean expression; contains an operation with a nested boolean expression.
11