blob: 643cac3235b1f8a7f04fdd817ff9a015191b4275 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// PR c++/20023
// { dg-do compile }
// { dg-options "-O2" }
void f (void);
typedef __SIZE_TYPE__ size_t;
void g (void *a)
{
size_t b = (size_t) a;
switch (b)
{
case 1:
f ();
break;
}
}
|