diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c index e86844b8ce..f349852553 100644 --- a/src/test/test-sizeof.c +++ b/src/test/test-sizeof.c @@ -93,5 +93,13 @@ int main(void) { printf("timeval: %zu\n", sizeof(struct timeval)); printf("timespec: %zu\n", sizeof(struct timespec)); + + void *x = malloc(100); + + printf("local variable: %p\n", &function_pointer); + printf("glibc function: %p\n", memcpy); + printf("heap allocation: %p\n", x); + free(x); + return 0; }