libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr114493-2.c
blob1b4a5792dc9f704a445e4f039b4afe2b8e32551f
1 /* PR c/114493 */
2 /* { dg-do compile { target lto } } */
3 /* { dg-options "-O2 -flto -std=c23" } */
5 void foo (void);
6 struct S;
7 struct S bar (struct S **);
8 struct S qux (const struct S **);
10 void
11 corge (void)
13 struct S { int s; } s;
14 s.s = 0;
17 struct __attribute__((__may_alias__)) S {
18 int s;
21 struct S
22 baz (void)
24 foo ();
25 return (struct S) {};