drd: Add a consistency check
[valgrind.git] / memcheck / tests / long-supps.c
blob78377e38db6471456e599e4ccd8edf9ecbd302dc
1 // Bug 186796: function names of over 200 chars in suppressions were being
2 // truncated and so not matching. This 200 char limit is easily overcome with
3 // C++ templates. It now is assigned dynamically.
5 #include <stdlib.h>
7 #define F1000 \
8 f1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
10 void F1000(void)
12 int* x = malloc(sizeof(int));
13 x[1] = 1;
16 int main(void)
18 F1000();
19 return 0;