summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr41551.c
blob: e24fbc33db413ff9c79ad1da0571a26f511e9c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */

/* Make sure we do not ICE.  */

__extension__ typedef __SIZE_TYPE__ size_t;

int main(void)
{
 int var, *p = &var;
 return (double)(size_t)(p);
}