|
From: <sv...@va...> - 2008-10-18 19:17:05
|
Author: sewardj
Date: 2008-10-18 20:16:57 +0100 (Sat, 18 Oct 2008)
New Revision: 8675
Log:
Remove five carriage returns introduced in r8665, so the expected outputs
match the actual outputs again.
Modified:
trunk/exp-ptrcheck/tests/unaligned.c
Modified: trunk/exp-ptrcheck/tests/unaligned.c
===================================================================
--- trunk/exp-ptrcheck/tests/unaligned.c 2008-10-15 16:38:03 UTC (rev 8674)
+++ trunk/exp-ptrcheck/tests/unaligned.c 2008-10-18 19:16:57 UTC (rev 8675)
@@ -10,16 +10,11 @@
char c0[8], c1[8], c2[8], c3[8], c4[8];
// Each of these pointers has a different alignment
- char** p0 = (char**)&c0[0];
- char** p1 = (char**)&c1[1];
- char** p2 = (char**)&c2[2];
- char** p3 = (char**)&c3[3];
+ char** p0 = (char**)&c0[0]; char** p1 = (char**)&c1[1];
+ char** p2 = (char**)&c2[2]; char** p3 = (char**)&c3[3];
char** p4 = (char**)&c4[4];
- *p0 = x;
- *p1 = x;
- *p2 = x;
- *p3 = x;
- *p4 = x;
+ *p0 = x; *p1 = x; *p2 = x;
+ *p3 = x; *p4 = x;
// These 10 are ok
c = (*p0)[0];
|