aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pp.c4
-rw-r--r--test/pp.h8
2 files changed, 11 insertions, 1 deletions
diff --git a/test/pp.c b/test/pp.c
index 0c199dc..ee4b98a 100644
--- a/test/pp.c
+++ b/test/pp.c
@@ -1,8 +1,10 @@
#include "pp.h"
+#include "pp.h"
+
int
main(void)
{
hi();
- return Foo;
+ return Foo + Bar;
}
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