Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Test function like macro. */ |
2 /* Contributed by Devang Patel <dpatel@apple.com> */ | |
3 | |
4 /* {do-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 |