aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/pp.h')
-rw-r--r--test/pp.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/pp.h b/test/pp.h
index 80042fd..e914800 100644
--- a/test/pp.h
+++ b/test/pp.h
@@ -3,12 +3,16 @@
extern warnhere();
#define Foo 9
-void hi() {
- extern int printf();
- printf("hi from header\n");
+void hi(int x) {
+ extern int printf(const char *, ...);
+ printf("hi from header ;%d\n", x);
}
-
+#if 1
+#endif
#elifndef Ww
#define Bar 7
+#define SQR_(x) (x)*(x)
+#define SQR(y) SQR_(y)
+#define ADD(a,b) (a)+(b)
#endif