summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20081224_0.c
blob: c146115b086f02fd0979b2ceec8a7f0561596c65 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-lto-do link } */
/* { dg-lto-options {{-fwhopr -shared -fPIC}} } */
#include "20081224_0.h"

extern struct foo x;

void f(void) {
  x.x = 0;
}