aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/pp.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2024-04-12 09:13:42 +0200
committerlemon <lsof@mailbox.org>2024-04-12 09:13:42 +0200
commitf02fb99340edd86848794dd9b85088998458a70d (patch)
tree5af8e8fd250557e18d3816f49d5dac522ae08c6e /test/pp.h
parentd0a11e24e0639ba402be3dec522e0dfff9ba45fc (diff)
frontend: #ifdef
Diffstat (limited to 'test/pp.h')
-rw-r--r--test/pp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pp.h b/test/pp.h
index 69da492..80042fd 100644
--- a/test/pp.h
+++ b/test/pp.h
@@ -1,6 +1,14 @@
+#ifndef GUARD
+#define GUARD
+
extern warnhere();
#define Foo 9
void hi() {
extern int printf();
printf("hi from header\n");
}
+
+#elifndef Ww
+#define Bar 7
+
+#endif