mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 19:55:07 +01:00
fix argv handling
This commit is contained in:
parent
21d3f12572
commit
613482b8c4
7 changed files with 28 additions and 5 deletions
8
tests/c/malloc.c
Normal file
8
tests/c/malloc.c
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include<stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
char *alloc = (char*) malloc(10);
|
||||
*alloc = 1;
|
||||
*(alloc + 9) = 2;
|
||||
free(alloc);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue