summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/pr33694.c
blob: eb7655e8585b6e81e21dd19f0d7bd429d34cdf19 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */

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

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