rt_gccstream/gcc/testsuite/gcc.dg/20060801-1.c

11 lines
215 B
C

/* { 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. */
}