File: cov_c_gcov

package info (click to toggle)
gccintro 1.0-5
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 3,028 kB
  • sloc: ansic: 1,004; sh: 506; cpp: 172; makefile: 16
file content (17 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
        #include <stdio.h>

        int
        main (void)
        {
     1    int i;

    10    for (i = 1; i < 10; i++)
            {
     9        if (i % 3 == 0)
     3          printf ("%d is divisible by 3\n", i);
     9        if (i % 11 == 0)
######          printf ("%d is divisible by 11\n", i);
     9      }

     1    return 0;
     1  }