]> git.sur5r.net Git - cc65/blob - testcode/compiler/pptest3.c
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / testcode / compiler / pptest3.c
1 #define str(s)          # s
2 #define xstr(s)         str(s)
3 #define debug(s, t)     printf("x" # s "= %d, x" # t "= %s", \
4                                x ## s, x ## t)
5 #define INCFILE(n)      vers ## n       // Comment
6 #define glue(a,b)       a ## b
7 #define xglue(a,b)      glue(a,b)
8 #define HIGHLOW         "hello"
9 #define LOW             LOW ", world"
10
11 debug (1, 2);
12 fputs (str (strncmp("abc\0d", "abc", '\4') // Comment
13             == 0) str (: @\n), s);
14 glue (HIGH, LOW);
15 xglue (HIGH, LOW);
16