// Test to ensure right number of counters are allocated and used for nested
// logical operators on branch conditions for branch coverage.
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++11 -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name branch-logical-mixed.cpp %s | FileCheck %s
// CHECK-LABEL: _Z5func1ii:
bool
// CHECK-LABEL: _Z5func2ii:
bool
// CHECK-LABEL: _Z5func3ii:
bool