From 5e46b36476c57418c0bd3cfced2d4c63eb7d1048 Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 31 May 2023 08:57:22 +0200 Subject: '!' optimizations --- test.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test.c') diff --git a/test.c b/test.c index e16e415..5adb14f 100644 --- a/test.c +++ b/test.c @@ -7,6 +7,8 @@ wawa #else boop #endif + +#define NULL ((void *)0) int glob [ wow+wow]; struct foo { @@ -32,4 +34,14 @@ int test4(int c) { : 0; } +int test5(int *p) +{ + return p ? *p : 0; +} + +int test6(int x) +{ + return !!!!x; +} + // -- cgit v1.2.3