Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/981206-1.c

raw
1 /* Verify unaligned address aliasing on Alpha EV[45]. */
2
3 void abort (void);
4 void exit (int);
5
6 static unsigned short x, y;
7
8 void foo()
9 {
10 x = 0x345;
11 y = 0x567;
12 }
13
14 int main()
15 {
16 foo ();
17 if (x != 0x345 || y != 0x567)
18 abort ();
19 exit (0);
20 }