Further harden glibc malloc metadata against 1-byte overflows.
[glibc.git] / elf / tst-piemod1.c
blob6e98b5f0c27642d61e5f180f05c3f20f01959ff9
1 #include <stdio.h>
3 int
4 foo (void)
6 return 21;
9 static int
10 do_test (void)
12 int val = foo ();
13 if (val != 34)
15 printf ("foo () returned %d\n", val);
16 return 1;
19 return 0;
22 #define TEST_FUNCTION do_test ()
23 #include "../test-skeleton.c"