summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/981206-1.c
blob: 12ec0ab1897ba770427e4e528856a4af5907264f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Verify unaligned address aliasing on Alpha EV[45].  */

static unsigned short x, y;

void foo()
{
  x = 0x345;
  y = 0x567;
}

int main()
{
  foo ();
  if (x != 0x345 || y != 0x567)
    abort ();
  exit (0);
}