summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr33693.c
blob: 147c164c4b42034f2118d55fa93eddd3f67de0e1 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */

/* This used to ICE with type-checking enabled.  */

unsigned long modify_field (unsigned long mask, long fieldval)
{
  return (~fieldval & ~mask);
}