summaryrefslogtreecommitdiff
path: root/tests/c/hello-world.c
blob: 28c18a98ec1940122237b7afe0bb3e3113359794 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdlib.h>

void a() {}
void bcd() {}

int main(int argc, char **argv) {
  int *p = malloc(0x10);
  free(p);

  printf("- freed: (%x/%x)\n", p, *p);
  printf("- fns: (%x/printf)\n", &printf);

  return 0;
}