repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/predict-12.c: New testcase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
paste18.c
blob
2888144cb3bd82c0143da4eb3f3ab2a25d93fa5b
1
/*
2
{ dg-options "-ftrack-macro-expansion=2" }
3
{ dg-do compile }
4
*/
5
6
struct
x
{
7
int
i
;
8
};
9
struct
x x
;
10
11
#define TEST(X) x.##X
/* { dg-error "pasting\[^\n\r\]*does not give\[^\n\r\]*token" } */
12
13
void
foo
(
void
)
14
{
15
TEST
(
i
) =
0
;
16
}