summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20050217-1.c
blob: f4b928d1e04ac6bdf09311c5e0b8d9ba704d1eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR c++/20023 */

void f (void);
typedef __SIZE_TYPE__ size_t;
void g (void *a)
{
  size_t b = (size_t) a;
  switch (b)
  {
    case 1:
    f ();
    break;
  }
}