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

void *foo(void)
{
  return (void *)0 - 1;
}