1 /* Test function like macro. */
2 /* Contributed by Devang Patel <dpatel@apple.com> */
4 /* {do-do preprocess } */
5 /* { dg-options "-traditional-cpp -E -dD" } */
7 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
8 #define getc(fp) __sgetc(fp)
9 #define getchar() getc(stdin)