Debian Codegraph @

gcc/testsuite/gcc.dg/pr114493-1.c

raw
1 /* PR c/114493 */
2 /* { dg-do compile { target lto } } */
3 /* { dg-options "-O2 -flto" } */
4
5 void foo (void);
6 struct S;
7 struct S bar (struct S **);
8 struct S qux (const struct S **);
9
10 struct __attribute__((__may_alias__)) S {
11 int s;
12 };
13
14 struct S
15 baz (void)
16 {
17 foo ();
18 return (struct S) {};
19 }