mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-02 19:42:59 +00:00
18 lines
213 B
C
18 lines
213 B
C
/* 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);
|
|
}
|