/* ************************************************************************** */ /* */ /* :::::::: */ /* test2.c :+: :+: */ /* +:+ */ /* By: djonker +#+ */ /* +#+ */ /* Created: 2020/11/14 21:06:17 by djonker #+# #+# */ /* Updated: 2023/10/18 17:08:56 by houtworm ######## odam.nl */ /* */ /* ************************************************************************** */ #include "../../tmp/libft.h" #include #include int main(void) { int r; int *p; t_list *list; r = 0; p = &r; list = ft_lstnew(p); if ((int *)list->content != p) r = 1; free (list); return (r); }