mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-10 17:36:21 +00:00
21 lines
1.3 KiB
C
21 lines
1.3 KiB
C
// Bug 186796: function names of over 200 chars in suppressions were being
|
|
// truncated and so not matching. This 200 char limit is easily overcome with
|
|
// C++ templates. It now is assigned dynamically.
|
|
|
|
#include <stdlib.h>
|
|
|
|
#define F1000 \
|
|
f1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
void F1000(void)
|
|
{
|
|
int* x = malloc(sizeof(int));
|
|
x[1] = 1;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
F1000();
|
|
return 0;
|
|
}
|