summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/931018-1.c
blob: 01b6050bf3531933a866512f2f37812223c69754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
unsigned int a[0x1000];
extern const unsigned long v;

main ()
{
  f (v);
  f (v);
  exit (0);
}

f (a)
     unsigned long a;
{
  if (a != 0xdeadbeefL)
    abort();
}

const unsigned long v = 0xdeadbeefL;