OSDN Git Service

PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr43557-1.c
1 /* PR debug/43557 */
2 /* { dg-do link } */
3 /* { dg-require-effective-target lto } */
4 /* { dg-options "-flto -g -O2" } */
5 /* { dg-additional-sources "pr43557-2.c" } */
6
7 struct S
8 {
9   int v;
10 } g;
11
12 void
13 f1 (void)
14 {
15   struct S *s = &g;
16   s->v = 0;
17 }
18
19 int main() { return 0; }