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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 /* { dg-do preprocess } */
kono
parents:
diff changeset
4 /* { dg-options "" } */
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 /* This testcase used to produce a bogus "invalid paste" warning, owing
kono
parents:
diff changeset
7 to not clearing a PASTE_LEFT flag. */
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 #define strcpy(src) __strcpy_small (src)
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 #define __strcpy_small(src) src
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 #define tprintf(format, args...) sprintf(format, ## args)
kono
parents:
diff changeset
14
kono
parents:
diff changeset
15 strcpy(tprintf("<%s>", test))