coregrind/m_gdbserver/remote-utils.c (prepare_resume_reply): Use memcpy
[valgrind.git] / massif / tests / long-names.c
blobd41b9c59e9f6400271b1e2621c7a462cda9e4ca2
1 #include <stdio.h>
2 #include <stdlib.h>
3 // Long function name. Make sure it is not truncated.
6 #define A2500 \
7 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
8 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
9 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
10 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
11 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
12 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
13 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
14 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
15 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
16 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
17 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
18 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
19 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
20 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
21 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
22 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
23 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
24 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
25 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
26 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
27 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
28 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
29 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
30 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
31 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
32 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
33 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
34 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
35 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
36 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
37 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
38 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
39 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
40 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
41 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
42 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
43 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
44 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
45 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
46 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
47 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
48 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
49 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
50 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
51 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
52 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
53 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
54 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
55 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij\
56 abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij
58 void A2500(int n)
60 if (n > 0) {
61 malloc(2000); // Divisible by 16 -- no slop.
62 A2500(n-1);
66 int main(void)
68 A2500(3);
69 return 0;