blob: 9052d2e5a042d1026b688c7a808975663e7f05ab [file] [log] [blame]
/* { dg-options "-fprofile-arcs -ftest-coverage -std=c++11" } */
/* { dg-do run { target native } } */
int main()
{
auto partially_uncovered_lambda = [](int i) { /* count(1) */
if (i > 10) /* count(1) */
return 0; /* count(1) */
return 1; /* count(#####) */
};
return partially_uncovered_lambda(20); /* count(1) */
}
/* { dg-final { run-gcov pr86109.C } } */