1 #include <stdio.h> 2 #include <stdlib.h> 3 // This function name is long enough to get truncated. Nb: we need multiple 4 // .exp.out* files because different length addresses can occur, which 5 // result in a different number of chars from this name being 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 57 A2500(int n)58void A2500(int n) 59 { 60 if (n > 0) { 61 malloc(2000); // Divisible by 16 -- no slop. 62 A2500(n-1); 63 } 64 } 65 main(void)66int main(void) 67 { 68 A2500(3); 69 return 0; 70 } 71 72