aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/gcov-pr90574-2.c
blob: 2db70c96f71538f4c2e172d64f6c5159612fee9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
/* { dg-do run { target native } } */

int main(int argc, char **argv)
{
  switch (argc)
    {
    case 0:
      foo: /* count(#####) */
    case 1:;
    }
  return 0;
}

/* { dg-final { run-gcov gcov-pr90574-2.c } } */