summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr33694.c
blob: fa62b9eaed2871b678b28d790006927d90337b32 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-ansi" } */

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

__SIZE_TYPE__ cnfs_mapcntl(long pagesize)
{
     return ~(__SIZE_TYPE__)(pagesize - 1);
}