Adjust line spacing following r8645, so that .stderr output is
as expected once again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8682 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-ptrcheck/tests/ccc.cpp b/exp-ptrcheck/tests/ccc.cpp
index 03c9a00..abd3119 100644
--- a/exp-ptrcheck/tests/ccc.cpp
+++ b/exp-ptrcheck/tests/ccc.cpp
@@ -1,15 +1,10 @@
#define _XOPEN_SOURCE 600 // to enable posix_memalign()
-
-
#include <assert.h>
#include <stdlib.h>
#include <malloc.h> // for memalign()
-
-
static __attribute__((noinline)) void bar ( int ); /* fwds */
-int main(void)
-{
- int y1, y2, y3, y4, y5, y6, sum = 0;
+int main(void) {
+ int sum = 0;
int* x1 = (int*)malloc(sizeof(int));
int* x2 = new int;
int* x3 = new int[10];
@@ -17,9 +12,9 @@
int* x5 = (int*)memalign(8, sizeof(int));
int* x6; void* v6;
int res = posix_memalign(&v6, 8, sizeof(int)); x6 = (int*)v6;
-
assert(NULL != x1 && NULL != x2 && NULL != x3 && NULL != x4 &&
NULL != x5 && 0 == res);
+
__asm__ __volatile__("":::"memory");
// all underruns
sum += x1[-1]; __asm__ __volatile__("":::"memory"); bar(1);