aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr56501.c
blob: d6fc29d7b664724e475794ba851d97bbce5affe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* { dg-do compile } */
/* { dg-options "-w" } */

int a;
void try_help () __attribute__ ((__noreturn__));
void try_help ()
{
}

int main ()
{
  switch (a)
    {
      case '1':
      case '2':
      case '3':
      case '4':
      case '5':
      case '6':
      case '7':
      case '8':
      case '9':
	  break;
      default:
	  try_help ();
    }
}