summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20081224_0.c
blob: d050e23123892634527120c0abc8dfbe5428f2c2 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-lto-do link } */
/* { dg-lto-options {{-flto -flto-partition=1to1 -r -nostdlib -fPIC}} } */
#include "20081224_0.h"

extern struct foo x;

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