aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/07-pp.h
blob: c0725b5c85ac4bc4b1699d245ae664842332c1c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef GUARD
#define GUARD

extern int printf(const char *, ...);
extern warnhere();
#define Foo 9
void hi(int x) {
   printf("hi from header ;%d\n", x);
}
#if 1
#endif
#elifndef Ww /*
             t'e   */
#define Bar 7
#define SQR_(x) ((x)*(x))
#define SQR(y) SQR_(1+(y)-1)
#define ADD(a,b) (a)+(b)
#define STR(h) #h 

#define xstr(s1) str(s1)
#define str(...) #__VA_ARGS__

#endif

extern int printf(const char *, ...);