From 891c8fbd0c825b6716225e778a8f013afb858d57 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Fri, 7 Mar 2025 00:07:25 +0000 Subject: Initial commit Signed-off-by: Andrew Clayton --- examples/malloc-cast.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 examples/malloc-cast.c (limited to 'examples/malloc-cast.c') diff --git a/examples/malloc-cast.c b/examples/malloc-cast.c new file mode 100644 index 0000000..5015147 --- /dev/null +++ b/examples/malloc-cast.c @@ -0,0 +1,4 @@ +void f(void) +{ + int *vals = malloc(sizeof(int) * 10); +} -- cgit