| 1 |
/* { dg-lto-do link } */ |
| 2 |
/* { dg-require-effective-target fpic } */ |
| 3 |
/* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */ |
| 4 |
/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */ |
| 5 |
#include "20081224_0.h" |
| 6 |
|
| 7 |
extern struct foo x; |
| 8 |
|
| 9 |
void f(void) { |
| 10 |
x.x = 0; |
| 11 |
} |