blob: d595d9866cf850b490330bac3a774a39334329b8 [file] [log] [blame]
// { dg-do assemble { target fpic } }
// { dg-options "-O0 -fpic" }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } }
// Origin: Jakub Jelinek <jakub@redhat.com>
struct bar {
bar() {}
double x[3];
};
static bar y[4];
void foo(int z)
{
bar w;
y[z] = w;
}