New test.

From-SVN: r24118
This commit is contained in:
Richard Henderson 1998-12-05 16:46:00 -08:00 committed by Richard Henderson
parent 9186280e24
commit 11f39bb852
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Sun Dec 6 00:40:12 1998 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/981206.c: New test.
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/template7.C: New test.

View File

@ -0,0 +1,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);
}