Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr61817-1.c
blob: d58497fa89e07b6d142214ee3a5a87ba30614eec [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=c11 -ftrack-macro-expansion=0" } */
#define
A
(
x
)
_Static_assert
(
x
,
#x)
#define
F
(
x
,
y
,
z
)
a
=
__LINE__
,
b
=
x
## y, c = z
enum
{
#line
10
F
(
__LI
,
NE__
,
__LINE__
)
};
A
(
a
==
10
);
A
(
b
==
10
);
A
(
c
==
10
);