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
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr61817-1.c
blob
4230485e635e16c1bdf2ae467e7b12c82f634f18
1
/* { dg-do compile } */
2
/* { dg-options "-std=c11 -ftrack-macro-expansion=0" } */
3
4
#define A(x) _Static_assert(x, #x)
5
#define F(x, y, z) a = __LINE__, b = x ## y, c = z
6
7
enum
{
8
#line 10
9
F
10
(
11
__LI
,
12
NE__
,
13
__LINE__
14
)
15
};
16
17
A
(
a
==
15
);
18
A
(
b
==
15
);
19
A
(
c
==
15
);