repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gcov
/
ternary.C
blob
d055928c2952fb28166f9c9da3455df4ba11804e
1
// { dg-options "-fprofile-arcs -ftest-coverage" }
2
// { dg-do run { target native } }
3
4
int b, c, d, e;
5
6
int main()
7
{
8
int a = b < 1 ? (c < 3 ? d : c) : e; /* count(1*) */
9
return a;
10
}
11
12
// { dg-final { run-gcov remove-gcda ternary.C } }