summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20060801-1.c
blob: c036acbec8042d551aa494d9ee82422a371ba3d6 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target fpic } } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-fPIC" } */
char *ptr = 0;
char array[100];
void
f()
{
  ptr = &array[0x100000000ULL];	/* A 33-bit constant.  */
}