8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/20001027-1.c

12 lines
97 B
C
Raw Normal View History

2000-10-27 08:52:16 -04:00
int x,*p=&x;
int main()
{
int i=0;
x=1;
p[i]=2;
if (x != 2)
abort ();
exit (0);
}