aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr33666.c
blob: 1f27b136d36a5c58bd1aa8ce0b72d07e78654c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options { -std=c99 } } */

/* This used to fail with type-checking enabled because we stripped
   the inner conversion to unsigned int.  */

void __lock_get_list(void *dp)
{
  if (((__SIZE_TYPE__)dp + 1) & ~1ULL)
    ;
}