From c4a71b2c520f40f34902e70c776669d0129ff7a1 Mon Sep 17 00:00:00 2001 From: Julian Erhard Date: Mon, 11 Dec 2023 11:52:29 +0100 Subject: [PATCH] Change test back to check what it is supposed to check. --- tests/regression/79-modular/28-return-void-allocated.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regression/79-modular/28-return-void-allocated.c b/tests/regression/79-modular/28-return-void-allocated.c index 64105cb5ba..df086aca0d 100644 --- a/tests/regression/79-modular/28-return-void-allocated.c +++ b/tests/regression/79-modular/28-return-void-allocated.c @@ -9,7 +9,7 @@ typedef struct node { node_t *allocate_node(){ // Changing the pointer type to node_t* resolves the issue - node_t* n = malloc(sizeof(node_t)); + int* n = malloc(sizeof(node_t)); return (node_t*) n; }