Commit 61274a14 by Glen Nakamura Committed by Kazu Hirata

* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.

From-SVN: r67407
parent dee2df72
2003-06-03 Glen Nakamura <glen@imodulo.com>
* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.
2003-06-03 J"orn Rennecke <joern.rennecke@superh.com>
* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
......
......@@ -13,12 +13,12 @@ void foo (int *x, int y)
int main ()
{
int x[2] = { 0x5a5a5a5a, 0x5a5a5a5a };
int x[2] = { -1, -1 };
if (x[1] != 0x5a5a5a5a)
if (x[1] != -1)
abort ();
foo (x, sizeof (int) + 1);
if (x[1] == 0x5a5a5a5a)
if (x[1] == -1)
abort ();
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment