Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr51949.c
blobe23bd7b4c1353d214d6e73fe654cdbbaf893f574
1 /* { dg-do compile } */
3 typedef long unsigned int size_t;
4 extern __attribute__ ((malloc)) void *mem_alloc(size_t);
5 void *mem_alloc(size_t amount)
7 void *q = __builtin_malloc (amount);
8 if (!q) {
9 __builtin_printf("malloc");
10 __builtin_exit(255);
13 void mem_realloc()
15 mem_alloc(1);
17 void put_env_var()
19 mem_alloc(1);