Home | History | Annotate | Download | only in tests
      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.
      4 
      5 #include <stdlib.h>
      6 
      7 #define F1000 \
      8 f1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
      9 
     10 void F1000(void)
     11 {
     12    int* x = malloc(sizeof(int));
     13    x[1] = 1;
     14 }
     15 
     16 int main(void)
     17 {
     18    F1000();
     19    return 0;
     20 }
     21