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
/
c11-enum-6.c
blob
a7201103325ae1df572cf2ae37e890eb01234722
1
/* Test C23 enumerations with fixed underlying type are not diagnosed for C11
2
with -pedantic-errors -Wno-c11-c23-compat. */
3
/* { dg-do compile } */
4
/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */
5
6
enum
e1
:
int
;
7
enum
e2
:
short
{
A
};
8
enum
:
short
{
B
};