testsuite: pru: Fix pr64366.c for new -std=gnu23 default
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-pr83813.c
blobac935b969f841e413e38d22b0e0860204b22290d
1 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
2 /* { dg-do run { target native } } */
4 union U
6 int f0;
7 unsigned char f1;
8 };
10 int main()
12 int i = 0;
13 union U u = {0}; /* count(1) */
14 for (u.f1 = 0; u.f1 != -2; ++u.f1) {
15 i ^= u.f1; /* count(1) */
16 if (i < 1) /* count(1) */
17 return 0; /* count(1) */
20 return 1;
23 /* { dg-final { run-gcov gcov-pr83813.c } } */