aboutsummaryrefslogtreecommitdiff
path: root/tests/core/test_dlmalloc_partial_2.in
blob: 1e16657ea4fd6103351694bbd1eefa25a980b62d (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <stdlib.h>
void *malloc(size_t size) { return (void *)123; }
int main() {
  void *x = malloc(10);
  printf("got %p\n", x);
  free(x);
  printf("freed the faker\n");
  return 1;
}