summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/980929-1.c
blob: 1d9246e01d7b4216c39e3eeb0e98007c83477c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
void f(int i)
{
  if (i != 1000)
    abort ();
}


int main()
{
  int n=1000;
  int i;

  f(n);
  for(i=0; i<1; ++i) {
    f(n);
    n=666;
    &n;
  }

  exit (0);
}