libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / c23-tag-composite-4.c
blob2cc4b067c05680db3345a3c1217905d45646150c
1 /* { dg-do compile }
2 * { dg-options "-std=c23" }
3 */
5 // conditional operator
7 void f(void)
9 struct foo { int x; } a;
10 struct foo { int x; } b;
11 1 ? a : b;
14 struct bar { int x; } a;
16 void g(void)
18 struct bar { int x; } b;
19 1 ? a : b;