Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c

raw
1 /* Test function like macro. */
2 /* Contributed by Devang Patel <[email protected]> */
3
4 /* { dg-do preprocess } */
5 /* { dg-options "-traditional-cpp -E -dD" } */
6 int __srget (char *);
7 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
8 #define getc(fp) __sgetc(fp)
9 #define getchar() getc(stdin)
10