Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/paste10.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Copyright (C) 2000 Free Software Foundation, Inc. */ |
2 | |
3 /* { dg-do preprocess } */ | |
4 /* { dg-options "" } */ | |
5 | |
6 /* This testcase used to produce a bogus "invalid paste" warning, owing | |
7 to not clearing a PASTE_LEFT flag. */ | |
8 | |
9 #define strcpy(src) __strcpy_small (src) | |
10 | |
11 #define __strcpy_small(src) src | |
12 | |
13 #define tprintf(format, args...) sprintf(format, ## args) | |
14 | |
15 strcpy(tprintf("<%s>", test)) |