Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
paste18.c
blob: 2888144cb3bd82c0143da4eb3f3ab2a25d93fa5b [
file
] [
log
] [
blame
]
/*
{ dg-options "-ftrack-macro-expansion=2" }
{ dg-do compile }
*/
struct
x
{
int
i
;
};
struct
x x
;
#define
TEST
(
X
)
x
.##
X
/* { dg-error "pasting\[^\n\r\]*does not give\[^\n\r\]*token" } */
void
foo
(
void
)
{
TEST
(
i
)
=
0
;
}