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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c23-tag-enum-2.c
blob
2bf7255b8441c0853a0c7577903dae5bb7e3331b
1
/*
2
* { dg-do compile }
3
* { dg-options "-std=c23" }
4
*/
5
6
enum
A
{
B
=
7
}
y
;
7
8
// complete during later construction
9
10
enum
A
{
B
=
_Generic
(&
y
,
enum
A
*:
7
,
default
:
1
) };
11
12
13
enum
X
{
E
=
1
,
F
=
1
+
1
};
14
enum
X
{
F
=
2
,
E
=
1
};
15
16
17