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-composite-4.c
blob
2cc4b067c05680db3345a3c1217905d45646150c
1
/* { dg-do compile }
2
* { dg-options "-std=c23" }
3
*/
4
5
// conditional operator
6
7
void
f
(
void
)
8
{
9
struct
foo
{
int
x
; }
a
;
10
struct
foo
{
int
x
; }
b
;
11
1
?
a
:
b
;
12
}
13
14
struct
bar
{
int
x
; }
a
;
15
16
void
g
(
void
)
17
{
18
struct
bar
{
int
x
; }
b
;
19
1
?
a
:
b
;
20
}
21