aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c12
1 files changed, 12 insertions, 0 deletions
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;
+}
+
//