Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr61817-2.c
blob: b7a860bd7dbefb0900b47b25442e1a7a26f095be [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=c11 -ftrack-macro-expansion=1" } */
#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
==
14
);